Use exact zerokit version, move common deps to workspace, remove unuse deps to reduce build size

This commit is contained in:
Vinh Trịnh
2025-08-18 16:41:17 +07:00
committed by GitHub
parent 1d44d60df2
commit f4a41073e4
9 changed files with 898 additions and 766 deletions

View File

@@ -9,17 +9,36 @@ members = [
resolver = "2"
[workspace.dependencies]
ark-bn254 = { version = "0.5", features = ["std"] }
ark-serialize = "0.5"
ark-groth16 = "0.5"
ark-ff = "0.5"
rln = { version = "0.8.0", features = ["pmtree-ft"] }
zerokit_utils = { version = "0.6.0", features = ["pmtree-ft"] }
ark-bn254 = { version = "0.5.0", features = ["std"] }
ark-relations = { version = "0.5.1", features = ["std"] }
ark-ff = { version = "0.5.0", features = ["parallel"] }
ark-groth16 = { version = "0.5.0", features = ["parallel"] }
ark-serialize = { version = "0.5.0", features = ["parallel"] }
tokio = { version = "1.47.1", features = ["macros", "rt-multi-thread"] }
clap = { version = "4.5.45", features = ["derive", "wrap_help"] }
url = { version = "2.5.4", features = ["serde"] }
alloy = { version = "1.0", features = ["getrandom", "sol-types", "contract", "provider-ws", "provider-anvil-node"] }
async-trait = "0.1"
alloy = { version = "1.0.24", features = [
"getrandom",
"sol-types",
"contract",
"provider-ws",
"provider-anvil-node",
] }
async-trait = "0.1.89"
derive_more = "2.0.1"
thiserror = "2.0"
thiserror = "2.0.14"
rustls = "0.23.31"
zeroize = "1.8"
# dev
criterion = { version = "0.6", features = ["async_tokio"] }
tonic = "0.14.1"
prost = "0.14.1"
tonic-prost = "0.14.1"
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
tracing = "0.1.41"
#[build-dependencies]
tonic-prost-build = "0.14.1"
#[dev.dependencies]
criterion = { version = "0.7.0", features = ["async_tokio"] }