forked from Manta-Network/pallet-manta-pay
/
Cargo.toml
75 lines (63 loc) · 2.58 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
74
75
[package]
name = "pallet-manta-pay"
version = "3.0.0"
authors = ["Manta Network <contact@manta.network>"]
edition = "2018"
license = "Apache-2.0"
repository = "https://github.com/Manta-Network/pallet-manta-pay"
description = "Manta pay scheme"
readme = "README.md"
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
# Substrate dependencies
frame-benchmarking = { default-features = false, version = '3.0.0', optional = true }
frame-support = { default-features = false, version = '3.0.0' }
frame-system = { default-features = false, version = '3.0.0' }
sp-runtime = { default-features = false, version = '3.0.0' }
sp-std = { default-features = false, version = '3.0.0' }
# Other Dependencies
codec = { package = "parity-scale-codec", version = "2.0.0", default-features = false, features = ["derive"] }
data-encoding = { version = "2.3.2", default-features = false, features = [ "alloc" ] }
# Arkworks dependencies
ark-ed-on-bls12-381 = { version = "0.2.0", default-features = false, features = [ "r1cs" ] }
ark-bls12-381 = { version = "0.2.0", default-features = false, features = [ "curve" ] }
ark-crypto-primitives = { version = "0.2.0", default-features = false, features = [ "r1cs" ] }
ark-ff = { version = "0.2.0", default-features = false }
ark-std = { version = "0.2.0", default-features = false }
ark-groth16 = { version = "0.2.0", default-features = false, features = [ "r1cs" ] }
ark-r1cs-std = { version = "0.2.0", default-features = false }
ark-relations = { version = "0.2.0", default-features = false }
ark-serialize = { version = "0.2.0", default-features = false, features = [ "derive" ] }
# Additional cryptography dependencies
rand_chacha = { version = "0.2.0", default-features = false }
hkdf = { version = "0.11", default-features = false }
sha2 = { version = "0.9.3", default-features = false }
# Manta Dependencies
manta-crypto = { branch = "master", git = "https://github.com/Manta-Network/manta-crypto", default-features = false }
manta-asset = { branch = "master", git = "https://github.com/Manta-Network/manta-asset", default-features = false }
[dev-dependencies]
# benchmarking
bencher = "0.1.5"
criterion = "0.3.4"
# testing
serde = { default-features = false, version = '1' }
sp-core = { default-features = false, version = '3.0.0' }
sp-io = { default-features = false, version = '3.0.0' }
[[bench]]
name = "manta_bench"
harness = false
[features]
default = [ 'std' ]
runtime-benchmarks = [
"frame-benchmarking",
]
std = [
"codec/std",
"sp-std/std",
"sp-runtime/std",
"frame-benchmarking/std",
"frame-support/std",
"frame-system/std",
"manta-asset/std",
]