File tree Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Expand file tree Collapse file tree 2 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ rustdoc-args = ["--cfg", "feature=\"docs\""]
22
22
23
23
[features ]
24
24
default = []
25
- docs = [" unstable" ]
25
+ docs = [" unstable" , " attributes " ]
26
26
unstable = [" broadcaster" ]
27
- bin = [" async-attributes" ]
27
+ attributes = [" async-attributes" ]
28
28
29
29
[dependencies ]
30
30
async-attributes = { version = " 1.0.0" , optional = true }
Original file line number Diff line number Diff line change 32
32
//! <span
33
33
//! class="module-item stab portability"
34
34
//! style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"
35
- //! ><code>bin</code></span> or
35
+ //! ><code>unstable</code></span>
36
+ //! are available only when the `unstable` Cargo feature is enabled:
37
+ //!
38
+ //! ```toml
39
+ //! [dependencies.async-std]
40
+ //! version = "0.99"
41
+ //! features = ["unstable"]
42
+ //! ```
43
+ //!
44
+ //! Items marked with
36
45
//! <span
37
46
//! class="module-item stab portability"
38
47
//! style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"
39
- //! ><code>unstable </code></span>
40
- //! are available only when the corresponding Cargo features are enabled:
48
+ //! ><code>attributes </code></span>
49
+ //! are available only when the `attributes` Cargo feature is enabled:
41
50
//!
42
51
//! ```toml
43
52
//! [dependencies.async-std]
44
53
//! version = "0.99"
45
- //! features = ["bin", "unstable "]
54
+ //! features = ["attributes "]
46
55
//! ```
47
56
48
57
#![ cfg( feature = "default" ) ]
57
66
#[ macro_use]
58
67
mod utils;
59
68
60
- #[ cfg_attr ( feature = "docs" , doc ( cfg ( bin ) ) ) ]
61
- #[ cfg ( feature = "bin" ) ]
69
+ #[ cfg ( feature = "attributes" ) ]
70
+ #[ cfg_attr ( feature = "docs" , doc ( cfg ( attributes ) ) ) ]
62
71
#[ doc( inline) ]
63
72
pub use async_attributes:: * ;
64
73
You can’t perform that action at this time.
0 commit comments