mirror of
https://github.com/vacp2p/status-rln-prover.git
synced 2026-01-09 21:48:07 -05:00
chore: bump all deps, move common deps to workspace, remove unuse deps, add tonic_prost_build for tonic@0.14.1
This commit is contained in:
1501
Cargo.lock
generated
1501
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
37
Cargo.toml
37
Cargo.toml
@@ -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"] }
|
||||
|
||||
@@ -4,51 +4,50 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.37", features = ["derive", "wrap_help"] }
|
||||
tonic = { version = "0.13", features = ["gzip"] }
|
||||
tonic-reflection = "*"
|
||||
tonic-web = "*"
|
||||
tower-http = { version = "0.6.4", features = ["cors"] }
|
||||
prost = "0.13"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
||||
tracing = "0.1.41"
|
||||
alloy.workspace = true
|
||||
thiserror.workspace = true
|
||||
futures = "0.3"
|
||||
rln_proof = { path = "../rln_proof" }
|
||||
smart_contract = { path = "../smart_contract" }
|
||||
rln.workspace = true
|
||||
zerokit_utils.workspace = true
|
||||
ark-bn254.workspace = true
|
||||
ark-serialize.workspace = true
|
||||
ark-ff.workspace = true
|
||||
tokio.workspace = true
|
||||
clap.workspace = true
|
||||
url.workspace = true
|
||||
alloy.workspace = true
|
||||
async-trait.workspace = true
|
||||
derive_more.workspace = true
|
||||
thiserror.workspace = true
|
||||
zeroize.workspace = true
|
||||
tonic.workspace = true
|
||||
prost.workspace = true
|
||||
tonic-prost.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
tracing.workspace = true
|
||||
tonic-reflection = "0.14.1"
|
||||
tonic-web = "0.14.1"
|
||||
tower-http = { version = "0.6.6", features = ["cors"] }
|
||||
futures = "0.3"
|
||||
bytesize = "2.0.1"
|
||||
chrono = "0.4.41"
|
||||
parking_lot = "0.12"
|
||||
http = "*"
|
||||
http = "1.3.1"
|
||||
async-channel = "2.3.1"
|
||||
rand = "0.8.5"
|
||||
derive_more.workspace = true
|
||||
url.workspace = true
|
||||
num-bigint = "0.4"
|
||||
async-trait.workspace = true
|
||||
serde = { version="1", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
# rocksdb = "0.23"
|
||||
rocksdb = { git = "https://github.com/tillrohrmann/rust-rocksdb", branch="issues/836" }
|
||||
nom = "8.0"
|
||||
claims = "0.8"
|
||||
rand = "0.9.2"
|
||||
num-bigint = "0.4.6"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.142"
|
||||
rocksdb = { git = "https://github.com/tillrohrmann/rust-rocksdb", branch = "issues/836" }
|
||||
nom = "8.0.0"
|
||||
claims = "0.8.0"
|
||||
clap_config = "0.1"
|
||||
toml = "0.8"
|
||||
metrics = "0.24"
|
||||
metrics-exporter-prometheus = "0.17"
|
||||
metrics-util = "0.20"
|
||||
rln = { git = "https://github.com/vacp2p/zerokit", features = ["pmtree-ft"] }
|
||||
zerokit_utils = { git = "https://github.com/vacp2p/zerokit", package = "zerokit_utils", features = ["default"] }
|
||||
rln_proof = { path = "../rln_proof" }
|
||||
smart_contract = { path = "../smart_contract" }
|
||||
rayon = "1.7"
|
||||
zeroize.workspace = true
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "*"
|
||||
tonic-prost-build.workspace = true
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::path::PathBuf;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||
tonic_build::configure()
|
||||
tonic_prost_build::configure()
|
||||
.file_descriptor_set_path(out_dir.join("prover_descriptor.bin"))
|
||||
.compile_protos(&["../proto/net/vac/prover/prover.proto"], &["../proto"])
|
||||
.unwrap();
|
||||
|
||||
@@ -4,19 +4,23 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.37", features = ["derive", "wrap_help"] }
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
tracing-subscriber = { version = "0.3.19", features = ["env-filter"] }
|
||||
tracing = "0.1.41"
|
||||
toml = "0.8"
|
||||
prover = { path = "../prover" }
|
||||
|
||||
opentelemetry = { version = "0.30", default-features = false, features = ["trace"]}
|
||||
opentelemetry_sdk = { version = "0.30", features = ["rt-tokio"] }
|
||||
opentelemetry-otlp = { version = "0.30", features = ["grpc-tonic", "reqwest-client", "reqwest-rustls", "http-proto", "tls", "tls-roots"]}
|
||||
tracing-opentelemetry = "0.31"
|
||||
rustls = "0.23.31"
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
tracing-test = "0.2.5"
|
||||
tokio.workspace = true
|
||||
clap.workspace = true
|
||||
rustls.workspace = true
|
||||
tracing-subscriber.workspace = true
|
||||
tracing.workspace = true
|
||||
toml = "0.9.5"
|
||||
opentelemetry = { version = "0.30.0", default-features = false, features = [
|
||||
"trace",
|
||||
] }
|
||||
opentelemetry_sdk = { version = "0.30.0", features = ["rt-tokio"] }
|
||||
opentelemetry-otlp = { version = "0.30.0", features = [
|
||||
"grpc-tonic",
|
||||
"reqwest-client",
|
||||
"reqwest-rustls",
|
||||
"http-proto",
|
||||
"tls",
|
||||
"tls-roots",
|
||||
] }
|
||||
tracing-opentelemetry = "0.31.0"
|
||||
|
||||
@@ -4,14 +4,13 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
# TODO: workspace?
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
# TODO: workspace?
|
||||
tonic = "0.13.1"
|
||||
prost = "0.13"
|
||||
clap = { version = "4.5.40", features = ["derive", "wrap_help"] }
|
||||
tokio.workspace = true
|
||||
clap.workspace = true
|
||||
alloy.workspace = true
|
||||
sha2 = "0.10"
|
||||
tonic.workspace = true
|
||||
prost.workspace = true
|
||||
tonic-prost.workspace = true
|
||||
sha2 = "0.10.9"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "*"
|
||||
tonic-prost-build.workspace = true
|
||||
|
||||
@@ -3,7 +3,7 @@ use std::path::PathBuf;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap());
|
||||
tonic_build::configure()
|
||||
tonic_prost_build::configure()
|
||||
.file_descriptor_set_path(out_dir.join("prover_descriptor.bin"))
|
||||
.compile_protos(&["../proto/net/vac/prover/prover.proto"], &["../proto"])
|
||||
.unwrap();
|
||||
|
||||
@@ -4,12 +4,12 @@ version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
rln = { git = "https://github.com/vacp2p/zerokit", package = "rln", features = ["pmtree-ft"] }
|
||||
zerokit_utils = { git = "https://github.com/vacp2p/zerokit", package = "zerokit_utils", features = ["default"] }
|
||||
rln.workspace = true
|
||||
zerokit_utils.workspace = true
|
||||
ark-bn254.workspace = true
|
||||
ark-relations.workspace = true
|
||||
ark-groth16.workspace = true
|
||||
ark-serialize.workspace = true
|
||||
ark-relations = "0.5"
|
||||
|
||||
[dev-dependencies]
|
||||
criterion.workspace = true
|
||||
|
||||
@@ -16,15 +16,15 @@ name = "rln_sc_test"
|
||||
path = "src/rln_sc_test.rs"
|
||||
|
||||
[dependencies]
|
||||
alloy.workspace = true
|
||||
tokio.workspace = true
|
||||
clap.workspace = true
|
||||
url.workspace = true
|
||||
alloy.workspace = true
|
||||
async-trait.workspace = true
|
||||
thiserror.workspace = true
|
||||
log = "0.4.27"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
|
||||
clap = { version = "4.0", features = ["derive"] }
|
||||
rustls = "0.23.31"
|
||||
rustls.workspace = true
|
||||
zeroize.workspace = true
|
||||
log = "0.4.27"
|
||||
|
||||
[dev-dependencies]
|
||||
claims = "0.8"
|
||||
|
||||
Reference in New Issue
Block a user