-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
82 lines (65 loc) · 1.57 KB
/
Cargo.toml
File metadata and controls
82 lines (65 loc) · 1.57 KB
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
74
75
76
77
78
79
80
81
[package]
name = "curv"
version = "0.2.6"
edition = "2018"
[lib]
crate-type = ["lib"]
[features]
default = ["rust-gmp"]
ec_secp256k1 = ["rust-gmp" ,"ecc", "secp256k1"]
ec_ristretto = ["rust-gmp", "ecc" , "curve25519-dalek"]
ec_ed25519 = ["rust-gmp", "ecc" , "cryptoxide"]
ec_jubjub = ["rust-gmp", "ecc" , "pairing", "sapling-crypto"]
ec_g1 = ["rust-gmp", "ecc" , "bls12_381"]
ec_g2 = ["rust-gmp","ecc", "bls12_381"]
ec_bls12_381 = ["rust-gmp", "ecc" , "bls12_381"]
ecc = []
merkle = ["rust-crypto", "merkle-sha3"]
[dependencies]
rand = "0.6"
serde = "1.0"
serde_derive = "1.0"
zeroize = "0.10"
sha3 = "0.8.2"
sha2 = "0.8.0"
hmac = "0.7.1"
digest = "0.8.1"
hex = "^0.3"
blake2b_simd = "0.5.7"
serde_json = "1.0"
cfg-if = "1.0.0"
[dependencies.rust-crypto]
version = "^0.2"
optional = true
[dependencies.merkle-sha3]
version = "^0.1"
optional = true
[dependencies.bls12_381]
version = "0.1.1"
optional = true
[dependencies.sapling-crypto]
git = "https://github.com/omershlo/librustzcash.git"
rev = "3e667406323430813f6dbae2a60b5a83046fa20a"
optional = true
[dependencies.pairing]
git = "https://github.com/omershlo/librustzcash.git"
rev = "3e667406323430813f6dbae2a60b5a83046fa20a"
optional = true
[dependencies.rust-gmp]
version = "0.5.0"
features = ["serde_support"]
git = "https://github.com/KZen-networks/rust-gmp"
optional = true
[dependencies.secp256k1]
version = "0.15.3"
features = ["serde"]
optional = true
[dependencies.curve25519-dalek]
version = "1.2.3"
optional = true
[dependencies.cryptoxide]
version = "0.1.2"
optional = true
[dev-dependencies]
bincode = "1.1"
serde_json = "1.0"