Skip to content

Commit cd9956b

Browse files
committed
refactor: continue address PR14's comments
1 parent be95cc8 commit cd9956b

2 files changed

Lines changed: 24 additions & 11 deletions

File tree

Cargo.toml

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,34 @@ resolver = "2"
77

88
# Dependencies shared by two or more workspace members.
99
[workspace.dependencies]
10-
rand = "0.8.7"
11-
rayon = "1.12.0"
10+
# ZKP Generation
11+
ark-ec = { version = "0.5.0", default-features = false }
1212
ark-ff = { version = "0.5.0", default-features = false }
1313
ark-std = { version = "0.5.0", default-features = false }
14-
zeroize = "1.9.0"
14+
ark-poly = { version = "0.5.0", default-features = false }
1515
ark-bn254 = { version = "0.5.0", features = ["std"] }
16-
criterion = { version = "0.8.2", features = ["html_reports"] }
16+
ark-groth16 = { version = "0.5.0", default-features = false }
17+
ark-relations = { version = "0.5.1", features = ["std"] }
18+
ark-serialize = { version = "0.5.0", default-features = false }
19+
20+
# Error Handling
1721
thiserror = "2.0.18"
22+
23+
# Utilities
24+
rand = "0.8.7"
25+
rayon = "1.12.0"
26+
zeroize = "1.9.0"
1827
num-bigint = { version = "0.4.8", default-features = false }
1928
num-traits = "0.2.19"
20-
serde_json = "1.0.150"
21-
ark-groth16 = { version = "0.5.0", default-features = false }
2229
rand_chacha = "0.3.1"
2330
tiny-keccak = { version = "2.0.2", features = ["keccak"] }
24-
ark-relations = { version = "0.5.1", features = ["std"] }
31+
32+
# Serialization
33+
serde = { version = "1.0.228", features = ["derive"] }
34+
serde_json = "1.0.150"
35+
36+
# Benchmarking
37+
criterion = { version = "0.8.2", features = ["html_reports"] }
2538

2639
# Compilation profile for any non-workspace member.
2740
# Dependencies are optimized, even in a dev build.

rln/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ doctest = false
1616

1717
[dependencies]
1818
# ZKP Generation
19+
ark-ec = { workspace = true }
1920
ark-ff = { workspace = true }
2021
ark-std = { workspace = true }
22+
ark-poly = { workspace = true }
2123
ark-bn254 = { workspace = true }
2224
ark-groth16 = { workspace = true }
2325
ark-relations = { workspace = true }
24-
ark-ec = { version = "0.5.0", default-features = false }
25-
ark-poly = { version = "0.5.0", default-features = false }
26-
ark-serialize = { version = "0.5.0", default-features = false }
26+
ark-serialize = { workspace = true }
2727

2828
# Error Handling
2929
thiserror = { workspace = true }
@@ -50,9 +50,9 @@ zerokit_utils = { path = "../utils", version = "3.0.0", default-features = false
5050
safer-ffi = "0.1.13"
5151

5252
# Serialization
53+
serde = { workspace = true }
5354
serde_json = { workspace = true }
5455
prost = "0.14.4"
55-
serde = { version = "1.0.228", features = ["derive"] }
5656

5757
# Non-WASM
5858
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

0 commit comments

Comments
 (0)