-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
73 lines (57 loc) · 1.37 KB
/
Cargo.toml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
[package]
name = "generic-anon-ake"
version = "0.3.2-test9"
edition = "2021"
default-run = "generic-anon-ake"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.8.5"
hex = "0.4.3"
sha3 = "0.10.6"
sha2 = "0.10.6"
aes-gcm = "0.10.1"
clap = { version = "4.1.13", features = ["derive"] }
ctr = "0.9.2"
aes = "0.8.2"
k256 = "0.13.0" #ecdsa
[target.'cfg(windows)'.dependencies]
pke_ecies = { git = "https://github.com/jiep/ecies-rs", default-features = false, features = ["pure"] }
[target.'cfg(not(windows))'.dependencies]
pke_ecies = { git = "https://github.com/jiep/ecies-rs" }
[dependencies.oqs]
git = "https://github.com/jiep/liboqs-rust"
branch = "protocol"
# version = "0.7.2"
default-features = false
features = ["dilithium", "kyber", "classic_mceliece"]
[dev-dependencies]
criterion = "0.4.0"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3
strip = "debuginfo"
[profile.release-lto]
inherits = "release"
lto = "fat"
[[bench]]
name = "performance_pq"
harness = false
[[bench]]
name = "performance_classic"
harness = false
[[bench]]
name = "primitives"
harness = false
[[bench]]
name = "primitives_classic"
harness = false
[lib]
name = "generic_anon_ake"
path = "src/lib.rs"
[[bin]]
name = "generic-anon-ake"
path = "src/main.rs"
[[bin]]
name = "generic-anon-ake-classic"
path = "src/main_classic.rs"