forked from axelarnetwork/tofn
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
68 lines (57 loc) · 1.48 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
[package]
name = "tofn"
version = "0.1.0"
authors = [
"Gus Gutoski <[email protected]>",
"Milap Sheth <[email protected]>",
"Thor Kamphefner <[email protected]>",
"John Sahhar <[email protected]>",
]
edition = "2018"
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["lib"]
[dependencies]
anyhow = "1.0.58"
rand_core = "0.6.4"
serde = { version = "1.0", features = ["derive"] }
bincode = "1.3.3"
rand_chacha = "0.3"
hmac = "0.12.1"
zeroize = { version = "1.4", features = ["zeroize_derive"] }
hex = "0.4.3"
# k256 baggage
k256 = { version = "0.10.4", default-features = false, features = ["serde", "ecdsa"] }
ecdsa = { version = "0.13.4", features = ["hazmat"] }
rand = "0.8"
sha2 = { version = "0.10.2", features = [
"std",
"asm",
], default-features = false }
sha3 = { version = "0.10.1", default-features = false }
# logging
tracing = { version = "0.1", default-features = false }
libpaillier = { git = "https://github.com/axelarnetwork/paillier-rs", features = [
"gmp",
], default-features = false }
# ceygen
chrono = "0.4.19"
serde_json = "1.0.79"
clap = { version = "3.1.6", features = ["derive"] }
tracing-subscriber = { version = "0", features = [
"env-filter",
"fmt",
], default-features = false }
[dev-dependencies]
tracing-test = "0" # enable logging for tests
criterion = "0.3"
[[bench]]
name = "safe_primes"
harness = false
# Don't abort in case there is a panic to clean up data
[profile.dev]
panic = "unwind"
[profile.release]
panic = "unwind"
[features]
malicious = []