forked from Layr-Labs/rust-kzg-bn254
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
122 lines (104 loc) · 2.47 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[package]
name = "rust-kzg-bn254"
version = "0.2.0"
edition = "2021"
authors = ["Anup Swamy Veena", "Teddy Knox"]
rust-version = "1.73"
description = "This library offers a set of functions for generating and interacting with bn254 KZG commitments and proofs in rust, with the motivation of supporting fraud and validity proof logic in EigenDA rollup integrations."
readme = "README.md"
repository = "https://github.com/Layr-Labs/rust-kzg-bn254"
license-file = "LICENSE"
exclude = [
"tests/*",
"benches/*",
]
[dependencies]
ark-bn254 = "0.4.0"
ark-ec = {version = "0.4.2", features = ["parallel"]}
ark-ff = {version = "0.4.2", features = ["parallel"]}
ark-serialize = "0.4.2"
ark-std = {version = "0.4.0", features = ["parallel"]}
directories = "5.0.1"
hex-literal = "0.4.1"
rand = "0.8.5"
sha2 = "0.10.8"
ureq = "2.9.6"
num-bigint = "0.4"
rayon = "^1.5"
num-traits = "0.2"
byteorder = "1.4"
ark-poly = {version = "0.4.2", features = ["parallel"]}
crossbeam-channel = "0.5"
num_cpus = "1.13.0"
sys-info = "0.9"
[dev-dependencies]
criterion = "0.5"
lazy_static = "1.4"
tracing = { version = "^0.1.34", features = ["log"] }
tracing-subscriber = "0.3.18"
[[test]]
name = "kzg"
path = "tests/kzg_test.rs"
[[test]]
name = "blob"
path = "tests/blob_test.rs"
[[test]]
name = "polynomial"
path = "tests/polynomial_test.rs"
[[test]]
name = "helpers"
path = "tests/helpers_test.rs"
[[bench]]
name = "bench_g1_ifft"
harness = false
path = "benches/bench_g1_ifft.rs"
[[bench]]
name = "bench_kzg_commit_with_cache"
harness = false
path = "benches/bench_kzg_commit_with_cache.rs"
[[bench]]
name = "bench_kzg_setup"
harness = false
path = "benches/bench_kzg_setup.rs"
[[bench]]
name = "bench_kzg_commit"
harness = false
path = "benches/bench_kzg_commit.rs"
[[bench]]
name = "bench_kzg_commit_large_blobs"
harness = false
path = "benches/bench_kzg_commit_large_blobs.rs"
[[bench]]
name = "bench_kzg_ifft_cache"
harness = false
path = "benches/bench_kzg_ifft_cache.rs"
[[bench]]
name = "bench_kzg_proof"
harness = false
path = "benches/bench_kzg_proof.rs"
[[bench]]
name = "bench_kzg_verify"
harness = false
path = "benches/bench_kzg_verify.rs"
[profile.bench]
opt-level = 3
debug = false
strip = "none"
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false
[profile.test]
opt-level = 3
debug = true
strip = "none"
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false