mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-03 15:06:41 +00:00
Merge pull request #434 from paulocsanz/master
Put everything behind a 'stable' feature to avoid future breaking changes
This commit is contained in:
commit
911ebada0b
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ features = ["docs"]
|
|||
rustdoc-args = ["--cfg", "feature=\"docs\""]
|
||||
|
||||
[features]
|
||||
default = []
|
||||
docs = ["unstable"]
|
||||
unstable = ["broadcaster"]
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
//! features = ["unstable"]
|
||||
//! ```
|
||||
|
||||
#![cfg(feature = "default")]
|
||||
#![cfg_attr(feature = "docs", feature(doc_cfg))]
|
||||
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
|
||||
#![allow(clippy::mutex_atomic, clippy::module_inception)]
|
||||
|
|
Loading…
Reference in a new issue