Skip to content

Commit

Permalink
argon2: add rand feature (#126)
Browse files Browse the repository at this point in the history
Enables the `rand_core` feature of `password-hash`.

Enabled-by-default.
  • Loading branch information
tarcieri committed Feb 7, 2021
1 parent e29120b commit ca1416a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion argon2/Cargo.toml
Expand Up @@ -25,7 +25,8 @@ password-hash = { version = "0.1", features = ["rand_core"] }
rand_core = { version = "0.6", features = ["std"] }

[features]
default = ["password-hash"]
default = ["password-hash", "rand"]
rand = ["password-hash/rand_core"]

[package.metadata.docs.rs]
all-features = true
Expand Down

0 comments on commit ca1416a

Please sign in to comment.