Skip to content

Commit 841383e

Browse files
committed
Ensure once_cell is available for docs generation
1 parent 363817b commit 841383e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rustls-platform-verifier/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,14 @@ dbg = []
2626
# by the platform's verifier.
2727
cert-logging = ["base64"]
2828
# Used for nicely documenting the Android-specific APIs. This feature is not stable.
29-
docsrs = ["jni"]
29+
docsrs = ["jni", "once_cell"]
3030

3131
[dependencies]
3232
rustls = { version = "0.23.27", default-features = false, features = ["std"] }
3333
log = { version = "0.4" }
3434
base64 = { version = "0.22", optional = true } # Only used when the `cert-logging` feature is enabled.
3535
jni = { version = "0.21", default-features = false, optional = true } # Only used during doc generation
36+
once_cell = { version = "1.9", optional = true } # Only used during doc generation
3637

3738
[target.'cfg(all(unix, not(target_os = "android"), not(target_vendor = "apple"), not(target_arch = "wasm32")))'.dependencies]
3839
rustls-native-certs = "0.8"

0 commit comments

Comments
 (0)