Skip to content

Commit

Permalink
Auto-document feature guarded items (#634)
Browse files Browse the repository at this point in the history
Co-authored-by: Paul Mason <paul@paulmason.me>
  • Loading branch information
robjtede and paupino committed Jan 9, 2024
1 parent d323dd4 commit 10ee2ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ version = "1.33.1"

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

[dependencies]
arbitrary = { default-features = false, optional = true, version = "1.0" }
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![forbid(unsafe_code)]
#![deny(clippy::print_stdout, clippy::print_stderr)]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
extern crate alloc;

mod constants;
Expand Down

0 comments on commit 10ee2ee

Please sign in to comment.