Skip to content

Commit

Permalink
Merge pull request #55 from mkroening/doc_auto_cfg
Browse files Browse the repository at this point in the history
Enable all features and `doc_auto_cfg` on docs.rs
  • Loading branch information
phil-opp committed Apr 21, 2024
2 parents 279d80c + 25e83e2 commit 82882b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ pre-release-replacements = [
pre-release-commit-message = "Release version {{version}}"

[package.metadata.docs.rs]
features = ["unstable"]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[workspace]
members = ["volatile-macro"]
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#![cfg_attr(feature = "very_unstable", feature(unboxed_closures))]
#![cfg_attr(feature = "very_unstable", feature(fn_traits))]
#![cfg_attr(feature = "very_unstable", feature(effects))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(missing_docs)]
#![deny(unsafe_op_in_unsafe_fn)]
#![doc(test(attr(deny(warnings))))]
Expand Down

0 comments on commit 82882b0

Please sign in to comment.