-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (56 loc) · 2.22 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 = "netherite-algebra"
version = "0.3.0"
authors = [ "Tianchen Liu", "Weikeng Chen" ]
description = "An implementation of ElGamal encryption and Shacham encryption"
repository = "https://github.com/oblivious-file-sharing/netherite-algebra"
include = ["Cargo.toml", "src", "README.md", "LICENSE"]
license = "Apache-2.0"
edition = "2018"
################################# Dependencies ################################
[dependencies]
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-serialize = { version = "^0.3.0", default-features = false, features = [ "derive" ] }
ark-poly = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-crypto-primitives = { version = "^0.3.0", default-features = false }
ark-r1cs-std = { version = "^0.3.0", default-features = false, optional = true }
gmp-mpfr-sys = { version = "1.4", default-features = false }
subtle = "2.4"
tracing = { version = "0.1", default-features = false, features = [ "attributes" ], optional = true }
derivative = { version = "2.0", features = ["use_core"], optional = true}
rand = "0.8.3"
rayon = { version = "1", optional = true }
num-traits = "0.2.14"
num-integer = "0.1.44"
num-bigint = "0.4.0"
blake2 = "0.9.1"
[dev-dependencies]
csv = { version = "1" }
ark-bls12-381 = { version = "^0.3.0", default-features = false, features = ["curve"] }
ark-algebra-test-templates = { version="^0.3.0", default-features = false }
[profile.release]
opt-level = 3
panic = 'abort'
[profile.dev]
opt-level = 0
panic = 'abort'
[[bench]]
name = "netherite-bench-encoding"
path = "benches/bench_encoding.rs"
harness = false
test = false
required-features = ["std"]
[[bench]]
name = "netherite-bench-pairing"
path = "benches/bench_pairing.rs"
harness = false
test = false
required-features = ["std"]
[features]
default = ["parallel"]
std = ["ark-ff/std", "ark-ec/std", "ark-poly/std", "ark-relations/std", "ark-crypto-primitives/std", "ark-std/std" ]
parallel = ["std", "ark-ff/parallel", "ark-poly/parallel", "ark-ec/parallel", "ark-crypto-primitives/parallel", "ark-std/parallel", "rayon"]
asm = ["ark-ff/asm"]