File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 29
29
uses : actions-rs/cargo@v1
30
30
with :
31
31
command : clippy
32
- args : --all --all-targets --no-default-features --features async-std-runtime,all-transport -- --deny warnings
32
+ args : --all --all-targets --no-default-features --features async-std-runtime,all-transport,async-dispatcher-macros -- --deny warnings
33
33
34
34
test :
35
35
name : Test
63
63
uses : actions-rs/cargo@v1
64
64
with :
65
65
command : test
66
- args : --all --no-default-features --features async-dispatcher-runtime,all-transport
66
+ args : --all --no-default-features --features async-dispatcher-runtime,all-transport,async-dispatcher-macros
67
67
68
68
fmt :
69
69
name : Formatting
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ default = ["tokio-runtime", "all-transport"]
13
13
tokio-runtime = [" tokio" , " tokio-util" ]
14
14
async-std-runtime = [" async-std" ]
15
15
async-dispatcher-runtime = [" async-std" , " async-dispatcher" ]
16
+ async-dispatcher-macros = [" async-dispatcher/macros" ]
16
17
all-transport = [" ipc-transport" , " tcp-transport" ]
17
18
ipc-transport = []
18
19
tcp-transport = []
Original file line number Diff line number Diff line change @@ -12,5 +12,8 @@ extern crate async_std;
12
12
#[ cfg( feature = "async-std-runtime" ) ]
13
13
pub use async_std:: { main, test} ;
14
14
15
- #[ cfg( feature = "async-dispatcher-runtime" ) ]
15
+ #[ cfg( all(
16
+ feature = "async-dispatcher-runtime" ,
17
+ feature = "async-dispatcher-macros"
18
+ ) ) ]
16
19
pub use async_dispatcher:: { main, test} ;
You can’t perform that action at this time.
0 commit comments