This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
78 lines (70 loc) · 3.13 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
76
77
78
[package]
name = "jf-cap"
description = "CAP: configurable asset policy"
version = "0.0.4"
authors = ["Espresso Systems <hello@espressosys.com>"]
edition = "2018"
license = "GPL-3.0-or-later"
[[bin]]
name = "gen-params"
path = "src/bin/gen-parameters.rs"
[dependencies]
anyhow = { version = "^1.0", default-features = false }
ark-bls12-377 = { git = "https://github.com/arkworks-rs/curves", rev = "677b4ae751a274037880ede86e9b6f30f62635af", optional = true }
ark-bls12-381 = { version = "0.3.0", default-features = false, features = ["curve"], optional = true }
ark-bn254 = { version = "0.3.0", default-features = false, features = ["curve"], optional = true }
ark-ec = { version = "0.3.0", default-features = false }
ark-ed-on-bls12-377 = { git = "https://github.com/arkworks-rs/curves", rev = "677b4ae751a274037880ede86e9b6f30f62635af", optional = true }
ark-ed-on-bls12-381 = { version = "0.3.0", default-features = false, optional = true }
ark-ed-on-bn254 = { version = "0.3.0", default-features = false, optional = true }
ark-ff = { version = "0.3.0", default-features = false }
ark-serialize = { version = "0.3.0", default-features = false }
ark-std = { version = "0.3.0", default-features = false }
bincode = { version = "1.3.3", default-features = false }
commit = { git = "https://github.com/EspressoSystems/commit.git", tag = "0.1.0" }
csv = { version = "1.1.6", default-features = false }
derivative = { version = "2", features = ["use_core"] }
derive_more = "0.99.17"
displaydoc = { version = "0.2.3", default-features = false }
hex-literal = "^0.3"
jf-plonk = { git = "https://github.com/EspressoSystems/jellyfish.git", rev = "bcd92b2cffd63b946a6b11c327ef1f5efb957714" }
jf-primitives = { git = "https://github.com/EspressoSystems/jellyfish.git", rev = "bcd92b2cffd63b946a6b11c327ef1f5efb957714" }
jf-relation = { git = "https://github.com/EspressoSystems/jellyfish.git", rev = "bcd92b2cffd63b946a6b11c327ef1f5efb957714" }
jf-utils = { git = "https://github.com/EspressoSystems/jellyfish.git", rev = "bcd92b2cffd63b946a6b11c327ef1f5efb957714" }
num_cpus = { version = "1.13.0", default-features = false }
percentage = { version = "0.1.0", default-features = false }
primitive-types = "0.11"
rand = { version = "0.8.4", default-features = false, features = [ "alloc" ] }
rand_chacha = { version = "0.3.1" }
rayon = { version = "1.7.0", default-features = false }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_derive = { version = "1.0", default-features = false }
serde_json = "1.0.61"
sha2 = { version = "0.9.5", default-features = false }
sha3 = "^0.10"
structopt = { version = "0.3.22", default-features = false }
[dev-dependencies]
criterion = "0.3.1"
quickcheck = "1.0"
quickcheck_macros = "1.0"
# Benchmarks
[[bench]]
name = "transfer"
harness = false
[[bench]]
name = "mint"
harness = false
[[bench]]
name = "freeze"
harness = false
[[bench]]
name = "batch_verification"
harness = false
[features]
default = ["bn254"]
bls12_381 = ["ark-bls12-381", "ark-ed-on-bls12-381"]
bls12_377 = ["ark-bls12-377", "ark-ed-on-bls12-377"]
bn254 = ["ark-bn254", "ark-ed-on-bn254"]
std = ["ark-std/std"]
# exposing apis for testing purpose
test_apis = []