diff --git a/Cargo.toml b/Cargo.toml index 6389705..b117b11 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 b659c39..ea05edf 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)]