Skip to content

Commit b2ac27f

Browse files
committed
docs: create documentation for all features
Enable the `--all-features` flag for docs.rs for the crates that contain non-default features. Closes #197.
1 parent 6c989c7 commit b2ac27f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ documentation = "https://docs.rs/multihash/"
1515
edition = "2021"
1616
rust-version = "1.64"
1717

18+
[package.metadata.docs.rs]
19+
all-features = true
20+
1821
[features]
1922
default = ["std"]
2023
std = ["unsigned-varint/std", "alloc"]

codetable/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ edition = "2021"
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

11+
[package.metadata.docs.rs]
12+
all-features = true
13+
1114
[features]
1215
default = ["std"]
1316
std = ["blake2b_simd?/std", "blake2s_simd?/std", "blake3?/std", "digest?/std", "sha1?/std", "sha2?/std", "sha3?/std", "strobe-rs?/std", "ripemd?/std", "multihash-derive/std", "core2/std"]

0 commit comments

Comments
 (0)