Use doc_auto_cfg

This commit is contained in:
Luke Parker
2022-09-29 04:47:55 -04:00
parent 8b0f0a3713
commit 19cd609cba
13 changed files with 16 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ edition = "2021"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
thiserror = "1"

View File

@@ -1,3 +1,4 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(not(feature = "std"), no_std)]
use rand_core::{RngCore, CryptoRng};