-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (49 loc) · 1.53 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
[package]
name = "tofn"
version = "0.1.0"
authors = ["Gus Gutoski <[email protected]>", "Milap Sheth <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
[lib]
crate-type = ["lib"]
[dependencies]
num-bigint = "0.4.3"
num-traits = "0.2"
serde = { version = "1.0.159", features = ["derive"] }
serde_json = {version = "1.0"}
bincode = "1.3.3"
rand_chacha = "0.3"
hmac = "0.11"
zeroize = { version = "1.4", features = ["zeroize_derive"] }
serde_bytes = "0.11"
# k256 baggage
k256 = { version = "0.9", features = ["ecdsa", "zeroize"], default-features = false }
ecdsa = { version = "0.12", features = ["digest"], default-features = false } # needed only for FromDigest trait
rand = "0.8"
sha2 = { version = "0.9", features = ["std", "asm"], default-features = false }
sha3 = { version = "0.9", default-features = false }
arrayref = "0.3"
# logging
tracing = {version = "0.1", default-features = false}
libpaillier = { git = "https://github.com/axelarnetwork/paillier-rs", features = ["gmp"], default-features = false }
bls12_381 = {version ="0.8.0"}
group = "0.13.0"
aes = "0.8.2"
vec_map = "0.8.2"
ark-serialize = "0.4.2"
[dev-dependencies]
tracing-test = "0" # enable logging for tests
tracing-subscriber = { version = "0", features = ["env-filter", "fmt"], default-features = false }
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 = []
[build-dependencies]
tonic-build = "0.9.1"