We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edfd311 commit 53cd99eCopy full SHA for 53cd99e
scrypt/src/lib.rs
@@ -17,8 +17,14 @@
17
//!
18
//! # Usage (simple PHC password hash usage with default params)
19
20
-#![cfg_attr(all(feature = "alloc", feature = "getrandom"), doc = "```")]
21
-#![cfg_attr(not(all(feature = "alloc", feature = "getrandom")), doc = "```ignore")]
+#![cfg_attr(
+ all(feature = "alloc", feature = "getrandom", feature = "phc"),
22
+ doc = "```"
23
+)]
24
25
+ not(all(feature = "alloc", feature = "getrandom", feature = "phc")),
26
+ doc = "```ignore"
27
28
//! # fn main() -> Result<(), Box<dyn core::error::Error>> {
29
//! // NOTE: example requires `getrandom` feature is enabled
30
0 commit comments