aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 247a523cdc22ef86e2fcb584bcfef6f541c0ecaa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[package]
name = "passwordmaker-rs"
version = "0.2.1"
edition = "2018"
authors = ["Andreas Grois"]
rust-version = "1.52"
description = "Rust reimplementation of the PasswordMaker Pro algorithm. This is partially a port, partially written from scratch. Compatibility is a goal, but not guaranteed." 
repository = "https://github.com/soulsource/passwordmaker-rs"
# License is LGPL, because original PasswordMaker Pro is LPGL too.
license = "LGPL-3.0-or-later"
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 = []
strum = ["dep:strum", "dep:strum_macros"]

[dependencies]
unicode-segmentation = "1.10.0"
strum = { version = "0.26.0", optional = true }
strum_macros = { version = "0.26.0", optional = true }

[dev-dependencies]
strum = "0.26.0"
strum_macros = "0.26.0"
digest = "0.10.5"
md4 = "0.10.2"
md-5 = "0.10.5"
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"
harness = false

[[bench]]
name = "hashrate_20"
harness = false

[[bench]]
name = "hashrate_16"
harness = false

[[bench]]
name = "hashrate_16_hmac"
harness = false

[[bench]]
name = "leet"
harness = false