diff --git a/Cargo.toml b/Cargo.toml index 63897053b..b117b113d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,7 @@ features = ["docs"] rustdoc-args = ["--cfg", "feature=\"docs\""] [features] +default = [] docs = ["unstable"] unstable = ["broadcaster"] diff --git a/src/lib.rs b/src/lib.rs index b659c39e9..ea05edf73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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)]