Skip to content

Commit dae3d0d

Browse files
committed
document non-default-features in docs.rs
1 parent 42c9a32 commit dae3d0d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ keywords = ["bytes", "cache", "hash", "interning", "slice"]
77
description = "byte slice interning"
88
repository = "https://github.com/sweet-security/intern-mint"
99

10+
[package.metadata.docs.rs]
11+
all-features = true
12+
rustdoc-args = ["--cfg=docsrs"]
13+
1014
[dependencies]
1115
ahash = "0.8.12"
1216
bstr = { version = "1.12.0", optional = true }

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
12
#![doc = include_str!("../README.md")]
23

34
pub mod borrow;

0 commit comments

Comments
 (0)