File tree 3 files changed +29
-40
lines changed
3 files changed +29
-40
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,9 @@ features = ["docs"]
21
21
rustdoc-args = [" --cfg" , " feature=\" docs\" " ]
22
22
23
23
[features ]
24
- default = [" stable " ]
24
+ default = []
25
25
docs = [" unstable" ]
26
26
unstable = [" broadcaster" ]
27
- stable = []
28
27
29
28
[dependencies ]
30
29
async-macros = " 1.0.0"
Original file line number Diff line number Diff line change 41
41
//! features = ["unstable"]
42
42
//! ```
43
43
44
+ #![ cfg( feature = "default" ) ]
44
45
#![ cfg_attr( feature = "docs" , feature( doc_cfg) ) ]
45
46
#![ warn( missing_docs, missing_debug_implementations, rust_2018_idioms) ]
46
47
#![ allow( clippy:: mutex_atomic, clippy:: module_inception) ]
49
50
#![ doc( html_logo_url = "https://async.rs/images/logo--hero.svg" ) ]
50
51
#![ recursion_limit = "2048" ]
51
52
52
- /// Declares stable items.
53
- #[ doc( hidden) ]
54
- macro_rules! cfg_stable {
55
- ( $( $item: item) * ) => {
56
- $(
57
- #[ cfg( feature = "stable" ) ]
58
- $item
59
- ) *
60
- }
61
- }
62
-
63
- cfg_stable ! {
64
- #[ macro_use]
65
- mod utils;
53
+ #[ macro_use]
54
+ mod utils;
66
55
67
- pub mod fs;
68
- pub mod future;
69
- pub mod io;
70
- pub mod net;
71
- pub mod os;
72
- pub mod path;
73
- pub mod prelude;
74
- pub mod stream;
75
- pub mod sync;
76
- pub mod task;
56
+ pub mod fs;
57
+ pub mod future;
58
+ pub mod io;
59
+ pub mod net;
60
+ pub mod os;
61
+ pub mod path;
62
+ pub mod prelude;
63
+ pub mod stream;
64
+ pub mod sync;
65
+ pub mod task;
77
66
78
- cfg_unstable! {
79
- pub mod pin;
80
- pub mod process;
67
+ cfg_unstable ! {
68
+ pub mod pin;
69
+ pub mod process;
81
70
82
- mod unit;
83
- mod vec;
84
- mod result;
85
- mod option;
86
- mod string;
87
- mod collections;
71
+ mod unit;
72
+ mod vec;
73
+ mod result;
74
+ mod option;
75
+ mod string;
76
+ mod collections;
88
77
89
- #[ doc( inline) ]
90
- pub use std:: { write, writeln} ;
91
- }
92
-
93
- mod macros;
78
+ #[ doc( inline) ]
79
+ pub use std:: { write, writeln} ;
94
80
}
81
+
82
+ mod macros;
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ pub use crate::io::seek::SeekExt as _;
36
36
pub use crate :: io:: write:: WriteExt as _;
37
37
#[ doc( hidden) ]
38
38
pub use crate :: stream:: stream:: StreamExt as _;
39
+ #[ doc( hidden) ]
40
+ pub use crate :: task_local;
39
41
40
42
cfg_unstable ! {
41
43
#[ doc( no_inline) ]
You can’t perform that action at this time.
0 commit comments