File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ matrix:
5050 rust : nightly
5151 os : linux
5252 script :
53- - cargo doc --features docs unstable
53+ - cargo doc --features docs unstable bin
5454
5555 - name : book
5656 rust : nightly
Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ rustdoc-args = ["--cfg", "feature=\"docs\""]
2323[features ]
2424docs = []
2525unstable = []
26+ bin = [" async-attributes" ]
2627
2728[dependencies ]
29+ async-attributes = { version = " 1.0.0" , optional = true }
2830async-macros = " 1.0.0"
2931async-task = " 1.0.0"
3032cfg-if = " 0.1.9"
Original file line number Diff line number Diff line change 3232//! <span
3333//! class="module-item stab portability"
3434//! style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"
35- //! ><code>unstable</code></span>
36- //! are available only when the `unstable` Cargo feature is enabled:
35+ //! ><code>unstable</code></span> or
36+ //! <span
37+ //! class="module-item stab portability"
38+ //! style="display: inline; border-radius: 3px; padding: 2px; font-size: 80%; line-height: 1.2;"
39+ //! ><code>bin</code></span>
40+ //! are available only when the corresponding Cargo features are enabled:
3741//!
3842//! ```toml
3943//! [dependencies.async-std]
4044//! version = "0.99"
41- //! features = ["unstable"]
45+ //! features = ["unstable", "bin" ]
4246//! ```
4347
4448#![ cfg_attr( feature = "docs" , feature( doc_cfg) ) ]
4751#![ doc( test( attr( allow( unused_extern_crates, unused_variables) ) ) ) ]
4852#![ doc( html_logo_url = "https://async.rs/images/logo--hero.svg" ) ]
4953
54+ #[ cfg_attr( feature = "docs" , doc( cfg( bin) ) ) ]
55+ #[ cfg( feature = "bin" ) ]
56+ #[ doc( inline) ]
57+ pub use async_attributes:: * ;
58+
5059use cfg_if:: cfg_if;
5160
5261pub mod fs;
You can’t perform that action at this time.
0 commit comments