Closed BlackHoleFox closed 3 months ago
Looks like the documentation needs to be updated to be gated on password-hash
and not just std
: https://github.com/RustCrypto/password-hashes/blob/28dfc27/argon2/src/lib.rs#L33
(I guess when it isn't run under cargo hack
, something else in the workspace is implicitly enabling the password-hash
feature somehow)
Needs rustfmt but looks like it's almost there
Oops, didn't realize the added features would line wrap. At least the failing test command passes locally now.
A missing weak feature specifier
?
was causingpassword-hash
to always become part of a crate's build tree if someone had specifieddefault-features = false, features = ["alloc"]
in theirCargo.toml
.Due to https://github.com/rust-lang/cargo/issues/10801
password-hash
will still always appear in the lockfile, but it won't be compiled anymore when a downstream crate has only enabled thealloc
orstd
features.