Skip to content

Commit

Permalink
Adjust wording in secrecy comparison
Browse files Browse the repository at this point in the history
Our APIs have diverged
  • Loading branch information
eopb committed Jul 25, 2023
1 parent 0f3d657 commit 63ae92c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct Payment {

### [secrecy](https://docs.rs/secrecy/latest/secrecy/)

[Secrecy](https://crates.io/crates/secrecy) was the original inspiration for this crate and it has a very similar API.
[Secrecy](https://crates.io/crates/secrecy) was the original inspiration for this crate and it has a similar API.

One significant difference is that secrecy requires that all secrets implement [`Zeroize`] so that it can cleanly wipe secrets from memory after they are dropped.
This unfortunately limits the types of values that secrecy can wrap in a `Secret` since every type has to be aware of `Zeroize`.
Expand Down

0 comments on commit 63ae92c

Please sign in to comment.