async-trait-ext 0.2.1

a procedural macro for async traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[test]
fn test_visibility() {
    mod inner {
        use async_trait_ext::async_trait_ext;

        #[async_trait_ext]
        pub trait Foo {
            async fn bar(&self);
        }
    }

    #[allow(unused_imports)]
    use inner::{Foo, FooExt};
}