mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
chore: Update dependencies
This commit is contained in:
1764
Cargo.lock
generated
1764
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
42
Cargo.toml
42
Cargo.toml
@@ -52,7 +52,7 @@ members = [
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Hard dependencies
|
# Hard dependencies
|
||||||
libc = "0.2.172"
|
libc = "0.2.174"
|
||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
|
|
||||||
@@ -67,14 +67,14 @@ pin-project-lite = {version = "0.2.16", optional = true}
|
|||||||
futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"], optional = true}
|
futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"], optional = true}
|
||||||
|
|
||||||
# Pluggable Transports
|
# Pluggable Transports
|
||||||
socket2 = {version = "0.5.9", features = ["all"], optional = true}
|
socket2 = {version = "0.6.0", features = ["all"], optional = true}
|
||||||
arti-client = {version = "0.30.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
|
arti-client = {version = "0.32.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
|
||||||
tor-error = {version = "0.30.0", optional = true}
|
tor-error = {version = "0.32.0", optional = true}
|
||||||
tor-rtcompat = {version = "0.30.0", features = ["async-std", "rustls"], optional = true}
|
tor-rtcompat = {version = "0.32.0", features = ["async-std", "rustls"], optional = true}
|
||||||
tor-hscrypto = {version = "0.30.0", optional = true}
|
tor-hscrypto = {version = "0.32.0", optional = true}
|
||||||
tor-hsservice = {version = "0.30.0", optional = true}
|
tor-hsservice = {version = "0.32.0", optional = true}
|
||||||
tor-proto = {version = "0.30.0", optional = true}
|
tor-proto = {version = "0.32.0", optional = true}
|
||||||
tor-cell = {version = "0.30.0", optional = true}
|
tor-cell = {version = "0.32.0", optional = true}
|
||||||
|
|
||||||
# TLS cert utilities
|
# TLS cert utilities
|
||||||
ed25519-compact = {version = "2.1.1", optional = true}
|
ed25519-compact = {version = "2.1.1", optional = true}
|
||||||
@@ -90,13 +90,13 @@ httparse = {version = "1.10.1", optional = true}
|
|||||||
semver = {version = "1.0.26", optional = true}
|
semver = {version = "1.0.26", optional = true}
|
||||||
structopt = {version= "0.3.26", optional = true}
|
structopt = {version= "0.3.26", optional = true}
|
||||||
structopt-toml = {version= "0.5.1", optional = true}
|
structopt-toml = {version= "0.5.1", optional = true}
|
||||||
toml = {version = "0.8.22", optional = true}
|
toml = {version = "0.9.5", optional = true}
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
#darkfi-serial = {path = "src/serial", optional = true}
|
#darkfi-serial = {path = "src/serial", optional = true}
|
||||||
#darkfi-derive = {path = "src/serial/derive", optional = true}
|
#darkfi-derive = {path = "src/serial/derive", optional = true}
|
||||||
darkfi-serial = {version = "0.5.0", optional = true}
|
darkfi-serial = {version = "0.5.1", optional = true}
|
||||||
darkfi-derive = {version = "0.5.0", optional = true}
|
darkfi-derive = {version = "0.5.1", optional = true}
|
||||||
|
|
||||||
# TODO: check chrono usage and impl our own
|
# TODO: check chrono usage and impl our own
|
||||||
chrono = {version = "0.4.41", optional = true}
|
chrono = {version = "0.4.41", optional = true}
|
||||||
@@ -112,14 +112,14 @@ regex = {version = "1.11.1", optional = true}
|
|||||||
rand = {version = "0.8.5", optional = true}
|
rand = {version = "0.8.5", optional = true}
|
||||||
blake3 = {version = "1.8.2", features = ["rayon"], optional = true}
|
blake3 = {version = "1.8.2", features = ["rayon"], optional = true}
|
||||||
crypto_api_chachapoly = {version = "0.5.0", optional = true}
|
crypto_api_chachapoly = {version = "0.5.0", optional = true}
|
||||||
halo2_proofs = {version = "0.3.0", features = ["circuit-params"], optional = true}
|
halo2_proofs = {version = "0.3.1", features = ["circuit-params"], optional = true}
|
||||||
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"], optional = true}
|
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"], optional = true}
|
||||||
|
|
||||||
# Smart contract runtime
|
# Smart contract runtime
|
||||||
darkfi-sdk = {path = "src/sdk", optional = true}
|
darkfi-sdk = {path = "src/sdk", optional = true}
|
||||||
wasmer = {version = "6.0.1", features = ["singlepass"], optional = true}
|
wasmer = {version = "6.1.0-rc.2", features = ["singlepass"], optional = true}
|
||||||
wasmer-compiler-singlepass = {version = "6.0.1", optional = true}
|
wasmer-compiler-singlepass = {version = "6.1.0-rc.2", optional = true}
|
||||||
wasmer-middlewares = {version = "6.0.1", optional = true}
|
wasmer-middlewares = {version = "6.1.0-rc.2", optional = true}
|
||||||
|
|
||||||
# Blockchain store
|
# Blockchain store
|
||||||
sled-overlay = {version = "0.1.9", optional = true}
|
sled-overlay = {version = "0.1.9", optional = true}
|
||||||
@@ -131,13 +131,13 @@ tiny-keccak = { version = "2.0.2", features = ["keccak"], optional = true }
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
clap = {version = "4.4.11", features = ["derive"]}
|
clap = {version = "4.4.11", features = ["derive"]}
|
||||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
halo2_proofs = {version = "0.3.1", features = ["dev-graph", "sanity-checks"]}
|
||||||
halo2_gadgets = "0.3.1"
|
halo2_gadgets = "0.3.1"
|
||||||
plotters = "0.3.7"
|
plotters = "0.3.7"
|
||||||
easy-parallel = "3.3.1"
|
easy-parallel = "3.3.1"
|
||||||
prettytable-rs = "0.10.0"
|
prettytable-rs = "0.10.0"
|
||||||
# Used for benchmarks
|
# Used for benchmarks
|
||||||
criterion = { version = "0.5.1", features = ["html_reports"] }
|
criterion = { version = "0.7.0", features = ["html_reports"] }
|
||||||
|
|
||||||
# -----BEGIN LIBRARY FEATURES-----
|
# -----BEGIN LIBRARY FEATURES-----
|
||||||
[features]
|
[features]
|
||||||
@@ -321,10 +321,8 @@ dht = [
|
|||||||
# -----END LIBRARY FEATURES-----
|
# -----END LIBRARY FEATURES-----
|
||||||
|
|
||||||
[patch.crates-io]
|
[patch.crates-io]
|
||||||
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
|
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v031"}
|
||||||
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
|
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v031"}
|
||||||
# Temp smol-2.0 fix
|
|
||||||
async-lock = {git="https://github.com/smol-rs/async-lock", rev="542831132f2c707aae1c380edd43452053433814"}
|
|
||||||
# Forked "url" crate with added P2P schemas
|
# Forked "url" crate with added P2P schemas
|
||||||
url = {git="https://github.com/darkrenaissance/rust-url", branch="main"}
|
url = {git="https://github.com/darkrenaissance/rust-url", branch="main"}
|
||||||
|
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ darkfi-serial = {version = "0.5.0", features = ["async"]}
|
|||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
smol = "2.0.2"
|
smol = "2.0.2"
|
||||||
atomic_float = "1.1.0"
|
atomic_float = "1.1.0"
|
||||||
async-channel = "2.3.1"
|
async-channel = "2.5.0"
|
||||||
easy-parallel = "3.3.1"
|
easy-parallel = "3.3.1"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
async-lock = "3.4.0"
|
async-lock = "3.4.1"
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
async-recursion = "1.1.1"
|
async-recursion = "1.1.1"
|
||||||
colored = "3.0.0"
|
colored = "3.0.0"
|
||||||
@@ -47,7 +47,7 @@ blake3 = "1.8.2"
|
|||||||
simplelog = "0.12.2"
|
simplelog = "0.12.2"
|
||||||
# For log files
|
# For log files
|
||||||
file-rotate = "0.7.6"
|
file-rotate = "0.7.6"
|
||||||
parking_lot = { version = "0.12.3", features = ["nightly"] }
|
parking_lot = { version = "0.12.4", features = ["nightly"] }
|
||||||
regex = "1.11"
|
regex = "1.11"
|
||||||
parley = { git = "https://github.com/linebender/parley.git" }
|
parley = { git = "https://github.com/linebender/parley.git" }
|
||||||
swash = { git = "https://github.com/valadaptive/swash", branch = "tight-bounds" }
|
swash = { git = "https://github.com/valadaptive/swash", branch = "tight-bounds" }
|
||||||
@@ -77,8 +77,8 @@ halo2_gadgets = { git="https://github.com/parazyd/halo2", branch="v4" }
|
|||||||
# Once merged, we can remove this
|
# Once merged, we can remove this
|
||||||
swash = { git = "https://github.com/valadaptive/swash", branch = "tight-bounds" }
|
swash = { git = "https://github.com/valadaptive/swash", branch = "tight-bounds" }
|
||||||
|
|
||||||
tor-rtcompat = { git = "https://github.com/narodnik/arti" }
|
tor-rtcompat = "0.32.0"
|
||||||
tor-rtmock = { git = "https://github.com/narodnik/arti" }
|
tor-rtmock = "0.32.0"
|
||||||
|
|
||||||
[target.'cfg(not(target_os = "android"))'.dependencies]
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
@@ -86,12 +86,12 @@ dirs = "5.0.1"
|
|||||||
[target.'cfg(target_os = "android")'.dependencies]
|
[target.'cfg(target_os = "android")'.dependencies]
|
||||||
android_logger = "0.13.3"
|
android_logger = "0.13.3"
|
||||||
# Required by Arti: tor-dirmgr
|
# Required by Arti: tor-dirmgr
|
||||||
tor-dirmgr = { version="0.29.0", features=["static"] }
|
tor-dirmgr = { version="0.32.0", features=["static"] }
|
||||||
|
|
||||||
[target.'cfg(target_os = "windows")'.dependencies]
|
[target.'cfg(target_os = "windows")'.dependencies]
|
||||||
# Used by tor-dirmgr
|
# Used by tor-dirmgr
|
||||||
#rusqlite = {version = "0.32.1", features = ["bundled"]}
|
#rusqlite = {version = "0.37.0", features = ["bundled"]}
|
||||||
tor-dirmgr = { version="0.29.0", features=["static"] }
|
tor-dirmgr = { version="0.32.0", features=["static"] }
|
||||||
|
|
||||||
[package.metadata.android.activity_attributes]
|
[package.metadata.android.activity_attributes]
|
||||||
"android:exported" = "true"
|
"android:exported" = "true"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ log = "0.4.27"
|
|||||||
num-bigint = "0.4.6"
|
num-bigint = "0.4.6"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
sled-overlay = "0.1.9"
|
sled-overlay = "0.1.9"
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
|
|
||||||
# JSON-RPC
|
# JSON-RPC
|
||||||
async-trait = "0.1.88"
|
async-trait = "0.1.88"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ path = "src/main.rs"
|
|||||||
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
|
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
|
||||||
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
|
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
|
||||||
darkfi-serial = {version = "0.5.0", features = ["async"]}
|
darkfi-serial = {version = "0.5.0", features = ["async"]}
|
||||||
libc = "0.2.172"
|
libc = "0.2.174"
|
||||||
|
|
||||||
# Event Graph DB
|
# Event Graph DB
|
||||||
sled-overlay = "0.1.9"
|
sled-overlay = "0.1.9"
|
||||||
@@ -44,7 +44,7 @@ url = "2.5.4"
|
|||||||
|
|
||||||
# Encoding and parsing
|
# Encoding and parsing
|
||||||
bs58 = "0.5.1"
|
bs58 = "0.5.1"
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
semver = "1.0.26"
|
semver = "1.0.26"
|
||||||
|
|
||||||
# Daemon
|
# Daemon
|
||||||
@@ -62,7 +62,7 @@ structopt-toml = "0.5.1"
|
|||||||
# See https://github.com/rust-mobile/android-rs-glue/issues/193
|
# See https://github.com/rust-mobile/android-rs-glue/issues/193
|
||||||
[target.aarch64-linux-android.dependencies]
|
[target.aarch64-linux-android.dependencies]
|
||||||
openssl = { version = "*", features = ["vendored"] }
|
openssl = { version = "*", features = ["vendored"] }
|
||||||
rusqlite = {version = "0.32.1", features = ["bundled"]}
|
rusqlite = {version = "0.36.0", features = ["bundled"]}
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ num-bigint = "0.4.6"
|
|||||||
prettytable-rs = "0.10.0"
|
prettytable-rs = "0.10.0"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rodio = {version = "0.20.1", default-features = false, features = ["minimp3"]}
|
rodio = {version = "0.20.1", default-features = false, features = ["minimp3"]}
|
||||||
rusqlite = {version = "0.32.1", features = ["sqlcipher"]}
|
rusqlite = {version = "0.36.0", features = ["sqlcipher"]}
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
|
|
||||||
# Daemon
|
# Daemon
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ blake3 = "1.8.2"
|
|||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
lazy_static = "1.5.0"
|
lazy_static = "1.5.0"
|
||||||
tar = "0.4.44"
|
tar = "0.4.44"
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ futures = "0.3.31"
|
|||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
semver = "1.0.26"
|
semver = "1.0.26"
|
||||||
tinyjson = "2.5.1"
|
tinyjson = "2.5.1"
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
|
|
||||||
# Daemon
|
# Daemon
|
||||||
|
|||||||
@@ -37,13 +37,13 @@ rand = "0.8.5"
|
|||||||
|
|
||||||
# Encoding and parsing
|
# Encoding and parsing
|
||||||
bs58 = "0.5.1"
|
bs58 = "0.5.1"
|
||||||
toml = "0.8.22"
|
toml = "0.9.5"
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
async-trait = "0.1.88"
|
async-trait = "0.1.88"
|
||||||
chrono = "0.4.41"
|
chrono = "0.4.41"
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
libc = "0.2.172"
|
libc = "0.2.174"
|
||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
tinyjson = "2.5.1"
|
tinyjson = "2.5.1"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ smol = "2.0.2"
|
|||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
async-std = "1.13.1"
|
async-std = "1.13.1"
|
||||||
async-trait = "0.1.88"
|
async-trait = "0.1.88"
|
||||||
async-channel = "2.3.1"
|
async-channel = "2.5.0"
|
||||||
async-executor = "1.13.2"
|
async-executor = "1.13.2"
|
||||||
easy-parallel = "3.3.1"
|
easy-parallel = "3.3.1"
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ fxhash = "0.2.1"
|
|||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
|
|
||||||
# Encoding and parsing
|
# Encoding and parsing
|
||||||
serde_json = "1.0.140"
|
serde_json = "1.0.142"
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
workspace = true
|
workspace = true
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ edition = "2021"
|
|||||||
cargo-fuzz = true
|
cargo-fuzz = true
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libfuzzer-sys = "0.4.9"
|
libfuzzer-sys = "0.4.10"
|
||||||
|
|
||||||
[dependencies.darkfi]
|
[dependencies.darkfi]
|
||||||
path = ".."
|
path = ".."
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ cargo-fuzz = true
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
honggfuzz = "0.5.57"
|
honggfuzz = "0.5.57"
|
||||||
bitcoin = "0.32.5"
|
bitcoin = "0.32.7"
|
||||||
|
|
||||||
[dependencies.darkfi]
|
[dependencies.darkfi]
|
||||||
path = "../.."
|
path = "../.."
|
||||||
|
|||||||
@@ -10,16 +10,16 @@ path = "../../../"
|
|||||||
features = ["dht"]
|
features = ["dht"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-channel = "2.3.1"
|
async-channel = "2.5.0"
|
||||||
async-executor = "1.13.2"
|
async-executor = "1.13.2"
|
||||||
async-std = "1.13.1"
|
async-std = "1.13.1"
|
||||||
async-trait = "0.1.88"
|
async-trait = "0.1.88"
|
||||||
blake3 = "1.8.2"
|
blake3 = "1.8.2"
|
||||||
ctrlc = { version = "3.4.7", features = ["termination"] }
|
ctrlc = { version = "3.4.7", features = ["termination"] }
|
||||||
easy-parallel = "3.3.1"
|
easy-parallel = "3.3.1"
|
||||||
futures-lite = "2.6.0"
|
futures-lite = "2.6.1"
|
||||||
log = "0.4.27"
|
log = "0.4.27"
|
||||||
serde_json = "1.0.140"
|
serde_json = "1.0.142"
|
||||||
simplelog = "0.12.2"
|
simplelog = "0.12.2"
|
||||||
url = "2.5.4"
|
url = "2.5.4"
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ edition = "2021"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
darkfi = {path = "../../../../", features = ["zk"]}
|
darkfi = {path = "../../../../", features = ["zk"]}
|
||||||
darkfi-sdk = {path = "../../../../src/sdk"}
|
darkfi-sdk = {path = "../../../../src/sdk"}
|
||||||
halo2_proofs = "0.3.0"
|
halo2_proofs = "0.3.1"
|
||||||
halo2_gadgets = "0.3.1"
|
halo2_gadgets = "0.3.1"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
hex = "0.4.3"
|
hex = "0.4.3"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ thiserror = "2.0.12"
|
|||||||
# probably shouldn't be in WASM
|
# probably shouldn't be in WASM
|
||||||
chacha20poly1305 = { version = "0.10.1", optional = true }
|
chacha20poly1305 = { version = "0.10.1", optional = true }
|
||||||
darkfi = { path = "../../../", features = ["zk", "rpc", "blockchain"], optional = true }
|
darkfi = { path = "../../../", features = ["zk", "rpc", "blockchain"], optional = true }
|
||||||
halo2_proofs = { version = "0.3.0", optional = true }
|
halo2_proofs = { version = "0.3.1", optional = true }
|
||||||
log = { version = "0.4.27", optional = true }
|
log = { version = "0.4.27", optional = true }
|
||||||
rand = { version = "0.8.5", optional = true }
|
rand = { version = "0.8.5", optional = true }
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"]
|
|||||||
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
|
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
|
||||||
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
|
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
|
||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
wasmparser = "0.230.0"
|
wasmparser = "0.236.0"
|
||||||
|
|
||||||
# The following dependencies are used for the client API and
|
# The following dependencies are used for the client API and
|
||||||
# probably shouldn't be in WASM
|
# probably shouldn't be in WASM
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ thiserror = "2.0.12"
|
|||||||
# probably shouldn't be in WASM
|
# probably shouldn't be in WASM
|
||||||
darkfi = { path = "../../../", features = ["zk"], optional = true }
|
darkfi = { path = "../../../", features = ["zk"], optional = true }
|
||||||
chacha20poly1305 = { version = "0.10.1", optional = true }
|
chacha20poly1305 = { version = "0.10.1", optional = true }
|
||||||
halo2_proofs = { version = "0.3.0", optional = true }
|
halo2_proofs = { version = "0.3.1", optional = true }
|
||||||
log = { version = "0.4.27", optional = true }
|
log = { version = "0.4.27", optional = true }
|
||||||
rand = { version = "0.8.5", optional = true }
|
rand = { version = "0.8.5", optional = true }
|
||||||
|
|
||||||
|
|||||||
@@ -75,10 +75,10 @@ impl TcpDialer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if let Some(ttl) = self.ttl {
|
if let Some(ttl) = self.ttl {
|
||||||
socket.set_ttl(ttl)?;
|
socket.set_ttl_v4(ttl)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
socket.set_nodelay(true)?;
|
socket.set_tcp_nodelay(true)?;
|
||||||
let keepalive = TcpKeepalive::new().with_time(Duration::from_secs(20));
|
let keepalive = TcpKeepalive::new().with_time(Duration::from_secs(20));
|
||||||
socket.set_tcp_keepalive(&keepalive)?;
|
socket.set_tcp_keepalive(&keepalive)?;
|
||||||
socket.enable_reuse_port()?;
|
socket.enable_reuse_port()?;
|
||||||
@@ -165,7 +165,7 @@ impl TcpListener {
|
|||||||
socket.set_only_v6(true)?;
|
socket.set_only_v6(true)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
socket.set_nodelay(true)?;
|
socket.set_tcp_nodelay(true)?;
|
||||||
let keepalive = TcpKeepalive::new().with_time(Duration::from_secs(20));
|
let keepalive = TcpKeepalive::new().with_time(Duration::from_secs(20));
|
||||||
socket.set_tcp_keepalive(&keepalive)?;
|
socket.set_tcp_keepalive(&keepalive)?;
|
||||||
socket.enable_reuse_port()?;
|
socket.enable_reuse_port()?;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ wasm = []
|
|||||||
thiserror = "2.0.12"
|
thiserror = "2.0.12"
|
||||||
|
|
||||||
# Serialization
|
# Serialization
|
||||||
darkfi-serial = {version = "0.5.0", features = ["crypto"]}
|
darkfi-serial = {version = "0.5.1", features = ["crypto"]}
|
||||||
|
|
||||||
# Encoding
|
# Encoding
|
||||||
bs58 = "0.5.1"
|
bs58 = "0.5.1"
|
||||||
@@ -33,7 +33,7 @@ blake2b_simd = "1.0.3"
|
|||||||
blake3 = "1.8.2"
|
blake3 = "1.8.2"
|
||||||
chacha20poly1305 = "0.10.1"
|
chacha20poly1305 = "0.10.1"
|
||||||
halo2_gadgets = "0.3.1"
|
halo2_gadgets = "0.3.1"
|
||||||
bridgetree = "0.6.0"
|
bridgetree = "0.7.0"
|
||||||
num-bigint = "0.4.6"
|
num-bigint = "0.4.6"
|
||||||
num-traits = "0.2.19"
|
num-traits = "0.2.19"
|
||||||
pasta_curves = "0.5.1"
|
pasta_curves = "0.5.1"
|
||||||
@@ -43,10 +43,10 @@ rand = "0.8.5"
|
|||||||
# Misc
|
# Misc
|
||||||
lazy_static = "1.5.0"
|
lazy_static = "1.5.0"
|
||||||
subtle = "2.6.1"
|
subtle = "2.6.1"
|
||||||
hashbrown = "0.15.3"
|
hashbrown = "0.15.4"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
halo2_proofs = {version = "0.3.1", features = ["dev-graph", "sanity-checks"]}
|
||||||
halo2_gadgets = {version = "0.3.1", features = ["test-dependencies"]}
|
halo2_gadgets = {version = "0.3.1", features = ["test-dependencies"]}
|
||||||
|
|
||||||
[lints]
|
[lints]
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ doc = false
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
darkfi = {path = "../../../", features = ["zk", "zkas"]}
|
darkfi = {path = "../../../", features = ["zk", "zkas"]}
|
||||||
darkfi-sdk = {path = "../"}
|
darkfi-sdk = {path = "../"}
|
||||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
halo2_proofs = {version = "0.3.1", features = ["circuit-params", "dev-graph", "sanity-checks"]}
|
||||||
halo2_gadgets = "0.3.1"
|
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"]}
|
||||||
plotters = "0.3.7"
|
plotters = "0.3.7"
|
||||||
pyo3 = {version = "0.22.6", features = ["gil-refs"]}
|
pyo3 = {version = "0.22.6", features = ["gil-refs"]}
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ use halo2_gadgets::{
|
|||||||
MerklePath,
|
MerklePath,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
utilities::lookup_range_check::LookupRangeCheckConfig,
|
utilities::lookup_range_check::{LookupRangeCheck, LookupRangeCheckConfig},
|
||||||
};
|
};
|
||||||
use halo2_proofs::{
|
use halo2_proofs::{
|
||||||
arithmetic::Field,
|
arithmetic::Field,
|
||||||
|
|||||||
Reference in New Issue
Block a user