Skip to content

Commit 6f8e933

Browse files
committed
fix(docs): add rust_crypto feature to docs.rs build
Add `rust_crypto` feature to docs.rs build to resolve failing docs.rs build. Closes #440
1 parent 1456755 commit 6f8e933

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ include = [
1919
]
2020
rust-version = "1.85.0"
2121

22+
[package.metadata.docs.rs]
23+
features = ["rust_crypto"]
24+
2225
[dependencies]
2326
base64 = "0.22"
2427
serde = { version = "1.0", features = ["derive"] }
@@ -37,7 +40,9 @@ ed25519-dalek = { version = "2.1.1", optional = true, features = ["pkcs8"] }
3740
hmac = { version = "0.12.1", optional = true }
3841
p256 = { version = "0.13.2", optional = true, features = ["ecdsa"] }
3942
p384 = { version = "0.13.0", optional = true, features = ["ecdsa"] }
40-
rand = { version = "0.8.5", optional = true, features = ["std"], default-features = false }
43+
rand = { version = "0.8.5", optional = true, features = [
44+
"std",
45+
], default-features = false }
4146
rsa = { version = "0.9.6", optional = true }
4247
sha2 = { version = "0.10.7", optional = true, features = ["oid"] }
4348

0 commit comments

Comments
 (0)