File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " drain"
3- version = " 0.1.2 "
3+ version = " 0.2.0 "
44authors = [
" Linkerd Developers <[email protected] >" ]
55license = " Apache-2.0"
66edition = " 2018"
@@ -11,7 +11,8 @@ A crate that supports graceful shutdown
1111"""
1212
1313[features ]
14- retain = [" tower" ]
14+ default = []
15+ retain = [" dep:tower" ]
1516
1617[dependencies ]
1718tokio = { version = " 1" , features = [" macros" , " sync" ] }
Original file line number Diff line number Diff line change 11#![ deny( warnings, rust_2018_idioms) ]
22#![ forbid( unsafe_code) ]
33
4- #[ cfg( feature = "tower " ) ]
4+ #[ cfg( feature = "retain " ) ]
55mod retain;
66
7- #[ cfg( feature = "tower " ) ]
7+ #[ cfg( feature = "retain " ) ]
88pub use crate :: retain:: Retain ;
99use std:: future:: Future ;
1010use tokio:: sync:: { mpsc, watch} ;
You can’t perform that action at this time.
0 commit comments