File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ features = ["docs"]
21
21
rustdoc-args = [" --cfg" , " feature=\" docs\" " ]
22
22
23
23
[features ]
24
- default = []
24
+ default = [" core " ]
25
25
docs = [" unstable" , " attributes" ]
26
26
unstable = [" broadcaster" ]
27
27
attributes = [" async-attributes" ]
28
+ core = []
28
29
29
30
[dependencies ]
30
31
async-attributes = { version = " 1.1.0" , optional = true }
Original file line number Diff line number Diff line change 158
158
//! features = ["unstable"]
159
159
//! ```
160
160
//!
161
+ <<<<<<< HEAD
161
162
//! Items marked with
162
163
//! <span
163
164
//! class="module-item stab portability"
170
171
//! version = "0.99"
171
172
//! features = ["attributes"]
172
173
//! ```
174
+ //!
175
+ //! Additionally it's possible to only use the core traits and combinators by
176
+ //! only enabling the `core` Cargo feature:
177
+ //!
178
+ //! ```toml
179
+ //! [dependencies.async-std]
180
+ //! version = "0.99"
181
+ //! default-features = false
182
+ //! features = ["core"]
183
+ //! ```
173
184
174
185
#![ cfg( feature = "default" ) ]
175
186
#![ cfg_attr( feature = "docs" , feature( doc_cfg) ) ]
You can’t perform that action at this time.
0 commit comments