Merge pull request #434 from paulocsanz/master

Put everything behind a 'stable' feature to avoid future breaking changes
poc-serde-support
Yoshua Wuyts 5 years ago committed by GitHub
commit 911ebada0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,6 +21,7 @@ features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""] rustdoc-args = ["--cfg", "feature=\"docs\""]
[features] [features]
default = []
docs = ["unstable"] docs = ["unstable"]
unstable = ["broadcaster"] unstable = ["broadcaster"]

@ -41,6 +41,7 @@
//! features = ["unstable"] //! features = ["unstable"]
//! ``` //! ```
#![cfg(feature = "default")]
#![cfg_attr(feature = "docs", feature(doc_cfg))] #![cfg_attr(feature = "docs", feature(doc_cfg))]
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
#![allow(clippy::mutex_atomic, clippy::module_inception)] #![allow(clippy::mutex_atomic, clippy::module_inception)]

Loading…
Cancel
Save