diff options
author | Andreas Grois <soulsource@users.noreply.github.com> | 2022-11-04 21:59:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 21:59:01 +0100 |
commit | 3254d705f91b9440457c1b9322c3a3edfd4b217e (patch) | |
tree | 73d80a5875523dee4a0bd98ebcb3b6f9bb0603bf /Cargo.toml | |
parent | daa045ab422062692705ff63c1a5618c9bef9801 (diff) | |
parent | c385c90148178ad38b17491d45f5dcc2cbe06c9c (diff) |
Merge pull request #1 from soulsource/feature/heap-allocation-free-base-conversion
Feature/heap allocation free base conversion
While skipping the heap allocation is nice, the real gain is the option to early-out of password generation once the desired length has been reached.
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,6 +1,6 @@ [package] name = "passwordmaker-rs" -version = "0.1.0" +version = "0.2.0" edition = "2018" authors = ["Andreas Grois"] rust-version = "1.52" @@ -12,6 +12,11 @@ keywords = ["password", "crypto", "password-generator", "security"] categories = ["cryptography"] readme = "README.md" +[features] +default = ["precomputed_common_max_powers"] +precomputed_max_powers = ["precomputed_common_max_powers"] +precomputed_common_max_powers = [] + [dependencies] unicode-segmentation = "1.10.0" @@ -25,6 +30,8 @@ sha-1 = "0.10.0" sha2 = "0.10.6" ripemd = "0.1.3" criterion = "0.4.0" +rand = "0.8.5" +rand_xoshiro = "0.6.0" [[bench]] name = "hashrate_32" |