2024-09-05 19:45:22 +00:00
|
|
|
[package]
|
|
|
|
name = "nexus-network"
|
2024-11-08 21:45:30 +00:00
|
|
|
version = "0.3.4"
|
2024-09-05 19:45:22 +00:00
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "prover"
|
|
|
|
path = "src/prover.rs"
|
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
prost-build = "0.13"
|
|
|
|
|
2024-11-08 21:45:30 +00:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 1
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
strip = true
|
|
|
|
codegen-units = 1
|
|
|
|
|
|
|
|
[profile.ci-build]
|
|
|
|
inherits = "dev"
|
|
|
|
opt-level = 0
|
|
|
|
debug = 0
|
|
|
|
strip = "none"
|
|
|
|
lto = false
|
|
|
|
codegen-units = 256
|
|
|
|
incremental = true
|
|
|
|
|
2024-09-05 19:45:22 +00:00
|
|
|
[dependencies]
|
|
|
|
async-stream = "0.3"
|
|
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
|
|
futures = "0.3"
|
|
|
|
prost = "0.13"
|
|
|
|
rand = "0.8.5"
|
2024-10-03 22:31:23 +00:00
|
|
|
reqwest = { version = "0.12", features = ["json"] }
|
2024-09-05 19:45:22 +00:00
|
|
|
tokio = { version = "1.38", features = ["full"] }
|
|
|
|
tokio-tungstenite = { version = "0.23", features = ["native-tls"] }
|
|
|
|
tracing = "0.1"
|
|
|
|
tracing-subscriber = { version = "0.3", features = ["std", "env-filter"] }
|
|
|
|
uuid = { version = "1.9", features = ["v4", "fast-rng"] }
|
2024-10-03 22:31:23 +00:00
|
|
|
home = "0.5.9"
|
|
|
|
random_word = { version = "0.4.3", features = ["en"] }
|
2024-09-05 19:45:22 +00:00
|
|
|
nexus-core = { git = "https://github.com/nexus-xyz/nexus-zkvm.git" }
|
|
|
|
getrandom = { version = "0.2", features = ["js"] }
|
|
|
|
# Workaround for "failed to resolve patches for `https://github.com/rust-lang/crates.io-index`"
|
|
|
|
zstd = { version = "=0.13.2", git = "https://github.com/gyscos/zstd-rs", features = ["wasm"] }
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
elf = { version = "0.7", default-features = false, features = ["std"] }
|
|
|
|
|
|
|
|
jsonrpsee = { version = "0.23", default-features = false }
|
|
|
|
|
|
|
|
sha3 = { version = "0.10", default-features = false }
|
|
|
|
hex = { version = "0.4.3" }
|
|
|
|
|
|
|
|
ark-crypto-primitives = { version = "0.4.0", features = [
|
|
|
|
"r1cs",
|
|
|
|
"sponge",
|
|
|
|
"crh",
|
|
|
|
"merkle_tree",
|
|
|
|
] }
|
|
|
|
ark-std = "0.4.0"
|
|
|
|
|
|
|
|
ark-relations = { version = "0.4.0" }
|
|
|
|
ark-r1cs-std = { version = "0.4.0" }
|
|
|
|
|
|
|
|
ark-ff = "0.4.0"
|
|
|
|
ark-ec = { version = "0.4.0", default-features = false }
|
|
|
|
ark-serialize = { version = "0.4.0", features = ["derive"] }
|
|
|
|
ark-poly = "0.4.0"
|
|
|
|
ark-poly-commit = "0.4.0"
|
|
|
|
|
|
|
|
ark-bn254 = "0.4.0"
|
|
|
|
ark-grumpkin = "0.4.0"
|
|
|
|
ark-pallas = "0.4.0"
|
|
|
|
ark-vesta = "0.4.0"
|
|
|
|
ark-test-curves = { version = "0.4.2", features = ["bls12_381_curve"] }
|
2024-10-03 22:31:23 +00:00
|
|
|
iana-time-zone = "0.1.60"
|
|
|
|
chrono = "0.4.38"
|
2024-09-05 19:45:22 +00:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
ark-crypto-primitives = { git = "https://github.com/arkworks-rs/crypto-primitives", rev = "d27a5c8" }
|
|
|
|
|
|
|
|
ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "2ca3bd7" }
|
|
|
|
|
|
|
|
ark-ff = { git = "https://github.com/arkworks-rs/algebra/", rev = "2a80c54" }
|
|
|
|
ark-ec = { git = "https://github.com/arkworks-rs/algebra/", rev = "2a80c54" }
|
|
|
|
ark-serialize = { git = "https://github.com/arkworks-rs/algebra/", rev = "2a80c54" }
|
|
|
|
ark-poly = { git = "https://github.com/arkworks-rs/algebra/", rev = "2a80c54" }
|
|
|
|
ark-test-curves = { git = "https://github.com/arkworks-rs/algebra/", rev = "2a80c54" }
|
|
|
|
|
|
|
|
ark-poly-commit = { git = "https://github.com/arkworks-rs/poly-commit/", rev = "12f5529" }
|
|
|
|
|
|
|
|
# note bls is using a different commit from the other curves
|
|
|
|
ark-bn254 = { git = "https://github.com/arkworks-rs/curves/", rev = "8c0256a" }
|
|
|
|
ark-grumpkin = { git = "https://github.com/arkworks-rs/curves/", rev = "8c0256a" }
|
|
|
|
ark-pallas = { git = "https://github.com/arkworks-rs/curves/", rev = "8c0256a" }
|
|
|
|
ark-vesta = { git = "https://github.com/arkworks-rs/curves/", rev = "8c0256a" }
|
|
|
|
ark-bls12-381 = { git = "https://github.com/arkworks-rs/curves/", rev = "3fded1f" }
|
|
|
|
|
|
|
|
zstd-sys = { git = "https://github.com/gyscos/zstd-rs" }
|