diff options
author | Andreas Grois <andi@grois.info> | 2022-10-23 20:26:23 +0200 |
---|---|---|
committer | Andreas Grois <andi@grois.info> | 2022-10-23 20:26:23 +0200 |
commit | 1f57846664b97f0cb630bf5fee13dfbc66f7c77a (patch) | |
tree | ea301ae8471bc8479b1b661508c977039a7c997e /Cargo.toml | |
parent | aa9dc24e9ec72228c28419a9072a4183a461b1f1 (diff) |
Add precomputed constants for common cases.
There are now 2 features that control the amount of precomputed
constants. They can either be 0, 12, or 256. Most users will likely want
to go with the 12, so this is the default feature.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -11,6 +11,11 @@ license = "LGPL-3.0-or-later" keywords = ["password", "crypto", "password-generator", "security"] categories = ["cryptography"] +[features] +default = ["precomputed_common_max_powers"] +precomputed_max_powers = ["precomputed_common_max_powers"] +precomputed_common_max_powers = [] + [dependencies] unicode-segmentation = "1.10.0" |