Skip to content

Commit

Permalink
doc(bits): fix docsrs for irox-bits
Browse files Browse the repository at this point in the history
  • Loading branch information
spmadden committed Jul 19, 2024
1 parent d9679d0 commit 7767718
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/bits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ workspace = true
std = ["alloc"]
alloc = []
default = []

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2 changes: 2 additions & 0 deletions libraries/bits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
#![forbid(unsafe_code)]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(docsrs, feature(doc_cfg))]

extern crate alloc;

#[macro_use]
Expand Down

0 comments on commit 7767718

Please sign in to comment.