Skip to content

Commit

Permalink
argon2: mention requiring std crate feature for OsRng (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Dec 9, 2024
1 parent f840943 commit dbc051a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions argon2/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
//! # fn main() -> Result<(), Box<dyn std::error::Error>> {
//! use argon2::{
//! password_hash::{
//! // `OsRng` requires enabled `std` crate feature
//! rand_core::OsRng,
//! PasswordHash, PasswordHasher, PasswordVerifier, SaltString
//! },
Expand Down

0 comments on commit dbc051a

Please sign in to comment.