Skip to content

Commit 911ebad

Browse files
authored
Merge pull request #434 from paulocsanz/master
Put everything behind a 'stable' feature to avoid future breaking changes
2 parents ec1a6ea + 8e991bc commit 911ebad

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ features = ["docs"]
2121
rustdoc-args = ["--cfg", "feature=\"docs\""]
2222

2323
[features]
24+
default = []
2425
docs = ["unstable"]
2526
unstable = ["broadcaster"]
2627

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
//! features = ["unstable"]
4242
//! ```
4343
44+
#![cfg(feature = "default")]
4445
#![cfg_attr(feature = "docs", feature(doc_cfg))]
4546
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
4647
#![allow(clippy::mutex_atomic, clippy::module_inception)]

0 commit comments

Comments
 (0)