chore: Update crate dependencies

This commit is contained in:
x
2025-12-25 12:22:56 +00:00
parent 51ec47e20c
commit add9bb596c
40 changed files with 790 additions and 653 deletions

1130
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -51,9 +51,9 @@ members = [
[dependencies]
# Hard dependencies
libc = "0.2.177"
libc = "0.2.178"
thiserror = "2.0.17"
tracing = "0.1.41"
tracing = "0.1.44"
# async-runtime
async-recursion = {version = "1.1.1", optional = true}
@@ -67,13 +67,13 @@ futures-rustls = {version = "0.26.0", default-features = false, features = ["log
# Pluggable Transports
socket2 = {version = "0.6.1", features = ["all"], optional = true}
arti-client = {version = "0.36.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
tor-error = {version = "0.36.0", optional = true}
tor-rtcompat = {version = "0.36.0", features = ["async-std", "rustls"], optional = true}
tor-hscrypto = {version = "0.36.0", optional = true}
tor-hsservice = {version = "0.36.0", optional = true}
tor-proto = {version = "0.36.0", optional = true}
tor-cell = {version = "0.36.0", optional = true}
arti-client = {version = "0.37.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
tor-error = {version = "0.37.0", optional = true}
tor-rtcompat = {version = "0.37.0", features = ["async-std", "rustls"], optional = true}
tor-hscrypto = {version = "0.37.0", optional = true}
tor-hsservice = {version = "0.37.0", optional = true}
tor-proto = {version = "0.37.0", optional = true}
tor-cell = {version = "0.37.0", optional = true}
# TLS cert utilities
ed25519-compact = {version = "2.1.1", optional = true}
@@ -103,12 +103,12 @@ darkfi-derive = {version = "0.5.1", optional = true}
chrono = {version = "0.4.42", optional = true}
lazy_static = {version = "1.5.0", optional = true}
num-bigint = {version = "0.4.6", optional = true}
url = {version = "2.5.4", features = ["serde"], optional = true}
url = {version = "2.5.7", features = ["serde"], optional = true}
# Misc
regex = {version = "1.12.2", optional = true}
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"], optional = true }
tracing-appender = {version = "0.2.3", optional = true }
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"], optional = true }
tracing-appender = {version = "0.2.4", optional = true }
nu-ansi-term = {version = "0.50.3", optional = true}
@@ -116,8 +116,8 @@ nu-ansi-term = {version = "0.50.3", optional = true}
rand = {version = "0.8.5", optional = true}
blake3 = {version = "1.8.2", features = ["rayon"], optional = true}
crypto_api_chachapoly = {version = "0.5.0", 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_proofs = {version = "0.3.2", features = ["circuit-params"], optional = true}
halo2_gadgets = {version = "0.4.0", features = ["circuit-params"], optional = true}
sha2 = {version = "0.10.9", optional = true}
# Smart contract runtime
@@ -142,7 +142,7 @@ plotters = "0.3.7"
easy-parallel = "3.3.1"
prettytable-rs = "0.10.0"
# Used for benchmarks
criterion = { version = "0.7.0", features = ["html_reports"] }
criterion = { version = "0.8.1", features = ["html_reports"] }
# -----BEGIN LIBRARY FEATURES-----
[features]
@@ -335,10 +335,10 @@ dht = [
# -----END LIBRARY FEATURES-----
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v031"}
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v032"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v032"}
# 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="v257"}
[[bench]]
name = "zk_arith"

View File

@@ -17,15 +17,15 @@ miniquad = { git = "https://github.com/not-fl3/miniquad" }
harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz2", features = ["bundled"] }
freetype-rs = { version = "0.37.0", features = ["bundled"] }
image = "0.25.5"
image = "0.25.9"
qoi = "0.4.1"
# AV1 video decoding - rav1d with Rust API from leo030303 fork
# Disable default features to avoid NASM dependency (asm)
rav1d = { git = "https://github.com/leo030303/rav1d", branch = "add-rust-api", default-features = false, features = ["bitdepth_8"] }
tracing = "0.1.41"
glam = "0.29.2"
tracing = "0.1.44"
glam = "0.30.9"
#zmq = "0.10.0"
#async_zmq = "0.4.0"
zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
@@ -34,40 +34,40 @@ darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net",
darkfi-serial = {version = "0.5.0", features = ["async"]}
fud = { path = "../fud/fud/" }
bs58 = "0.5.1"
thiserror = "2.0.12"
thiserror = "2.0.17"
smol = "2.0.2"
atomic_float = "1.1.0"
async-channel = "2.5.0"
easy-parallel = "3.3.1"
rand = "0.8.5"
async-lock = "3.4.1"
async-lock = "3.4.2"
async-broadcast = "0.7.2"
futures = "0.3.31"
async-recursion = "1.1.1"
colored = "3.0.0"
#rustpython-vm = "0.3.1"
sled-overlay = "0.1.14"
url = "2.5.4"
semver = "1.0.26"
chrono = "0.4.41"
url = "2.5.7"
semver = "1.0.27"
chrono = "0.4.42"
async-gen = "0.2.3"
async-trait = "0.1.88"
async-trait = "0.1.89"
blake3 = "1.8.2"
clap = { version = "4.5", features = ["derive"] }
tracing-subscriber = { version = "0.3.19", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
clap = { version = "4.5.53", features = ["derive"] }
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
# For log files
file-rotate = "0.7.6"
parking_lot = { version = "0.12.4", features = ["nightly"] }
regex = "1.11"
file-rotate = "0.8.0"
parking_lot = { version = "0.12.5", features = ["nightly"] }
regex = "1.12.2"
parley = { git = "https://github.com/linebender/parley.git" }
swash = "0.2.5"
swash = "0.2.6"
zeno = "0.3.3"
peniko = "*"
peniko = "0.5.0"
fluent = "0.17"
unic-langid = { version = "0.9", features = ["unic-langid-macros"] }
indoc = "2"
fluent = "0.17.0"
unic-langid = { version = "0.9.6", features = ["unic-langid-macros"] }
indoc = "2.0.7"
[features]
emulate-android = []
@@ -94,14 +94,14 @@ dirs = "5.0.1"
[target.'cfg(target_os = "android")'.dependencies]
tracing-android = "0.2.0"
# Required by Arti: tor-dirmgr
tor-dirmgr = { version="0.36.0", features=["static"] }
tor-dirmgr = { version="0.37.0", features=["static"] }
[target.'cfg(target_os = "ios")'.dependencies]
[target.'cfg(target_os = "windows")'.dependencies]
# Used by tor-dirmgr
#rusqlite = {version = "0.37.0", features = ["bundled"]}
tor-dirmgr = { version="0.36.0", features=["static"] }
tor-dirmgr = { version="0.37.0", features=["static"] }
[package.metadata.android.activity_attributes]
"android:exported" = "true"

View File

@@ -19,7 +19,7 @@ darkfi-serial = "0.5.0"
# Misc
blake3 = "1.8.2"
bs58 = "0.5.1"
tracing = "0.1.41"
tracing = "0.1.44"
num-bigint = "0.4.6"
rand = "0.8.5"
sled-overlay = "0.1.14"
@@ -28,7 +28,7 @@ toml = "0.9.8"
# JSON-RPC
async-trait = "0.1.89"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Monero
monero = "0.21.0"
@@ -38,8 +38,8 @@ hex = "0.4.3"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -1 +1 @@
AYa7rEMKSzoYLxJbN6SG6cSGu/o02E70pmtKI+XwxiWxAAAAAMvnrmgAAAAAAAAAAAAAAAA7PNtvmfHqHEnjNnAS1ULkbCEM4uIYpCgNuv5kw2ETCBOPxLhdzYeY0CreC7POWy1tPS5Of8EVFm/1WmPy7a7MAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AYa7rEMKSzoYLxJbN6SG6cSGu/o02E70pmtKI+XwxiWxAAAAAAAAAADEIE1pAAAAADs822+Z8eocSeM2cBLVQuRsIQzi4hikKA26/mTDYRMIo2Yv2EXi1dD8mks1TtiTk47rfSAycNVD2/MvA1HBgKMAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=

View File

@@ -123,7 +123,7 @@ impl DarkfiNode {
let mut hasher = blake3::Hasher::new();
hasher.update(&address.to_string().into_bytes());
hasher.update(&Timestamp::current_time().inner().to_le_bytes());
hasher.finalize().as_bytes().clone()
*hasher.finalize().as_bytes()
};
// Now we should register this login, and create a blocktemplate and
@@ -193,7 +193,7 @@ impl DarkfiNode {
// Construct everything needed for the Stratum response.
let blob = blocktemplate.block.header.to_blockhashing_blob();
let job_id = blocktemplate.block.header.hash().inner().clone();
let job_id = *blocktemplate.block.header.hash().inner();
let height = blocktemplate.block.header.height as f64;
// The target should be compacted to 8 bytes little-endian.
let target = &target.to_bytes_le()[..8];
@@ -205,15 +205,15 @@ impl DarkfiNode {
// Construct response
let job: HashMap<String, JsonValue> = HashMap::from([
("blob".to_string(), hex::encode(&blob).to_string().into()),
("job_id".to_string(), hex::encode(&job_id).to_string().into()),
("job_id".to_string(), hex::encode(job_id).to_string().into()),
("height".to_string(), height.into()),
("target".to_string(), hex::encode(target).into()),
("algo".to_string(), "rx/0".to_string().into()),
("seed_hash".to_string(), hex::encode(&seed_hash).into()),
("seed_hash".to_string(), hex::encode(seed_hash).into()),
]);
let result = HashMap::from([
("id".to_string(), hex::encode(&conn_id).into()),
("id".to_string(), hex::encode(conn_id).into()),
("job".to_string(), job.into()),
("status".to_string(), "OK".to_string().into()),
]);
@@ -268,13 +268,13 @@ impl DarkfiNode {
return JsonError::new(InvalidParams, None, id).into()
};
let Ok(conn_id) = hex::decode(&conn_id) else {
let Ok(conn_id) = hex::decode(conn_id) else {
return JsonError::new(InvalidParams, None, id).into()
};
if conn_id.len() != 32 {
return JsonError::new(InvalidParams, None, id).into()
}
let Ok(job_id) = hex::decode(&job_id) else {
let Ok(job_id) = hex::decode(job_id) else {
return JsonError::new(InvalidParams, None, id).into()
};
if job_id.len() != 32 {
@@ -295,7 +295,7 @@ impl DarkfiNode {
};
// Parse the nonce into u32.
let Ok(nonce_bytes) = hex::decode(&nonce) else {
let Ok(nonce_bytes) = hex::decode(nonce) else {
return JsonError::new(InvalidParams, None, id).into()
};
if nonce_bytes.len() != 4 {

View File

@@ -21,7 +21,7 @@ path = "src/main.rs"
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {version = "0.5.0", features = ["async"]}
libc = "0.2.177"
libc = "0.2.178"
# Event Graph DB
sled-overlay = "0.1.14"
@@ -39,8 +39,8 @@ crypto_box = {version = "0.9.1", features = ["std", "chacha20"]}
rand = "0.8.5"
# Misc
tracing = "0.1.41"
url = "2.5.4"
tracing = "0.1.44"
url = "2.5.7"
# Encoding and parsing
bs58 = "0.5.1"
@@ -51,8 +51,8 @@ semver = "1.0.27"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -27,19 +27,19 @@ linenoise-rs = "0.1.1"
num-bigint = "0.4.6"
prettytable-rs = "0.10.0"
rand = "0.8.5"
rodio = {version = "0.20.1", default-features = false, features = ["minimp3"]}
rodio = {version = "0.21.1", default-features = false, features = ["playback", "mp3"]}
rusqlite = {version = "0.37.0", features = ["sqlcipher"]}
sled-overlay = "0.1.14"
toml = "0.9.8"
tracing = "0.1.41"
url = "2.5.4"
tracing = "0.1.44"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -22,7 +22,7 @@ use std::{
str::FromStr,
};
use rodio::{Decoder, OutputStream, Sink};
use rodio::{Decoder, OutputStreamBuilder, Sink};
use smol::channel::Sender;
use structopt_toml::clap::{App, Arg, Shell, SubCommand};
@@ -110,8 +110,8 @@ pub async fn kaching() {
let cursor = Cursor::new(WALLET_MP3);
let Ok((_stream, stream_handle)) = OutputStream::try_default() else { return };
let Ok(sink) = Sink::try_new(&stream_handle) else { return };
let Ok(stream_handle) = OutputStreamBuilder::open_default_stream() else { return };
let sink = Sink::connect_new(stream_handle.mixer());
let Ok(source) = Decoder::new(cursor) else { return };
sink.append(source);

View File

@@ -16,14 +16,14 @@ darkfi-serial = "0.5.0"
# JSON-RPC
async-trait = "0.1.89"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing
@@ -36,7 +36,7 @@ sled-overlay = "0.1.14"
# Misc
blake3 = "1.8.2"
tracing = "0.1.41"
tracing = "0.1.44"
lazy_static = "1.5.0"
tar = "0.4.44"
toml = "0.9.8"

View File

@@ -17,9 +17,9 @@ smol = "2.0.2"
# Misc
clap = {version = "4.4.11", features = ["derive"]}
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
url = "2.5.4"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
url = "2.5.7"
termcolor = "1.4.1"
[lints]

View File

@@ -29,9 +29,9 @@ sha2 = "0.10.9"
async-trait = "0.1.89"
blake3 = "1.8.2"
rand = "0.8.5"
tracing = "0.1.41"
tracing = "0.1.44"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
num-bigint = "0.4.6"
# Daemon
@@ -39,13 +39,13 @@ easy-parallel = "3.3.1"
futures = "0.3.31"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Equi-X
blake2 = "0.10.6"
equix = "0.2.5"
equix = "0.5.1"
# Database
sled-overlay = "0.1.14"

View File

@@ -16,10 +16,10 @@ darkfi-serial = "0.5.0"
smol = "2.0.2"
clap = {version = "4.4.11", features = ["derive"]}
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
[lints]
workspace = true

View File

@@ -32,16 +32,16 @@ sled-overlay = "0.1.14"
# Misc
async-trait = "0.1.89"
tracing = "0.1.41"
tracing = "0.1.44"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -14,18 +14,18 @@ darkfi = {path = "../../", features = ["toml", "async-daemonize", "rpc"]}
# Misc
async-trait = "0.1.89"
futures = "0.3.31"
tracing = "0.1.41"
tracing = "0.1.44"
semver = "1.0.27"
tinyjson = "2.5.1"
toml = "0.9.8"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -21,19 +21,19 @@ darkfi-serial = {version = "0.5.0", features = ["async"]}
# Misc
bs58 = "0.5.1"
randomx = {git = "https://codeberg.org/darkrenaissance/RandomX"}
tracing = "0.1.41"
tracing = "0.1.44"
num-bigint = "0.4.6"
# JSON-RPC
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -43,18 +43,18 @@ toml = "0.9.8"
async-trait = "0.1.89"
chrono = "0.4.42"
futures = "0.3.31"
libc = "0.2.177"
tracing = "0.1.41"
libc = "0.2.178"
tracing = "0.1.44"
thiserror = "2.0.17"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -19,8 +19,8 @@ darkfi-serial = "0.5.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# arg parsing
@@ -30,8 +30,8 @@ structopt-toml = "0.5.1"
# misc
async-trait = "0.1.89"
tracing = "0.1.41"
url = "2.5.4"
tracing = "0.1.44"
url = "2.5.7"
# ANCHOR_END: dependencies
[lints]

View File

@@ -25,13 +25,13 @@ rand = "0.8.5"
# Misc
clap = {version = "4.4.11", features = ["derive"]}
log = "0.4.28"
log = "0.4.29"
simplelog = "0.12.2"
fxhash = "0.2.1"
url = "2.5.4"
url = "2.5.7"
# Encoding and parsing
serde_json = "1.0.145"
serde_json = "1.0.147"
[lints]
workspace = true

View File

@@ -22,7 +22,7 @@ darkfi-serial = "0.5.0"
clap = {version = "4.4.11", features = ["derive"]}
rand = "0.8.5"
smol = "2.0.2"
url = "2.5.4"
url = "2.5.7"
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v031"}

View File

@@ -9,7 +9,7 @@ cargo-fuzz = true
[dependencies]
honggfuzz = "0.5.58"
bitcoin = "0.32.7"
bitcoin = "0.32.8"
[dependencies.darkfi]
path = "../.."

View File

@@ -32,8 +32,8 @@ sled-overlay = "0.1.14"
blake3 = "1.8.2"
# Misc
tracing = "0.1.41"
url = "2.5.4"
tracing = "0.1.44"
url = "2.5.7"
# Daemon
smol = "2.0.2"
@@ -45,8 +45,8 @@ semver = {version = "1.0.27", optional = true}
easy-parallel = {version = "3.3.1", optional = true}
signal-hook-async-std = {version = "0.3.0", optional = true}
signal-hook = {version = "0.3.18", optional = true}
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"], optional = true }
tracing-appender = { version = "0.2.3", optional = true }
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"], optional = true }
tracing-appender = { version = "0.2.4", optional = true }
serde = {version = "1.0.228", features = ["derive"], optional = true}
structopt = {version = "0.3.26", optional = true}
structopt-toml = {version = "0.5.1", optional = true}

View File

@@ -11,7 +11,7 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../", features = ["net"]}
darkfi-serial = {version = "0.5.0"}
url = {version = "2.5.4", features = ["serde"]}
url = {version = "2.5.7", features = ["serde"]}
smol = "2.0.2"
[workspace]

View File

@@ -15,19 +15,19 @@ darkfi = {path = "../../../", features = ["async-daemonize", "validator", "rpc"]
darkfi-serial = "0.5.0"
# Misc
tracing = "0.1.41"
tracing = "0.1.44"
# JSON-RPC
async-trait = "0.1.89"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -16,7 +16,7 @@ darkfi-serial = "0.5.0"
# Misc
clap = {version = "4.4.11", features = ["derive"]}
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
smol = "2.0.2"
url = "2.5.4"
url = "2.5.7"

View File

@@ -15,20 +15,20 @@ darkfi = {path = "../../../../", features = ["async-daemonize", "rpc"]}
darkfi-serial = "0.5.0"
# Misc
tracing = "0.1.41"
tracing = "0.1.44"
# JSON-RPC
async-trait = "0.1.89"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
async-std = {version = "1.13.2", features = ["attributes"]}
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -11,8 +11,8 @@ path = "src/lib.rs"
[dependencies]
blake2 = "0.10.6"
criterion = { version = "0.7.0", features = ["html_reports"] }
equix = "0.2.5"
criterion = { version = "0.8.1", features = ["html_reports"] }
equix = "0.5.1"
rand = "0.8.5"
[[bench]]

View File

@@ -16,9 +16,9 @@ rand = "0.8.5"
# Daemon
easy-parallel = "3.3.1"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
smol = "2.0.2"

View File

@@ -22,4 +22,4 @@ clap = {version = "4.4.11", features = ["derive"]}
prettytable-rs = "0.10.0"
rand = "0.8.5"
smol = "2.0.2"
url = "2.5.4"
url = "2.5.7"

View File

@@ -18,20 +18,20 @@ darkfi-serial = "0.5.0"
# Misc
bs58 = "0.5.1"
sled-overlay = "0.1.14"
tracing = "0.1.41"
tracing = "0.1.44"
# JSON-RPC
async-trait = "0.1.89"
tinyjson = "2.5.1"
url = "2.5.4"
url = "2.5.7"
# Daemon
async-std = {version = "1.13.2", features = ["attributes"]}
easy-parallel = "3.3.1"
signal-hook-async-std = "0.3.0"
signal-hook = "0.3.18"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
tracing-appender = "0.2.4"
smol = "2.0.2"
# Argument parsing

View File

@@ -10,8 +10,8 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../../../", features = ["zk"]}
darkfi-sdk = {path = "../../../../src/sdk"}
halo2_proofs = "0.3.1"
halo2_gadgets = "0.3.1"
halo2_proofs = "0.3.2"
halo2_gadgets = "0.4.0"
rand = "0.8.5"
hex = "0.4.3"

View File

@@ -12,8 +12,8 @@ edition = "2024"
[dependencies]
darkfi-sdk = {path = "../../../../src/sdk"}
darkfi = {path = "../../../../", features = ["zk"]}
halo2_proofs = {version = "0.3.1", features = ["circuit-params"]}
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"]}
halo2_proofs = {version = "0.3.2", features = ["circuit-params"]}
halo2_gadgets = {version = "0.4.0", features = ["circuit-params"]}
rand = "0.8.5"
darkfi-serial = "0.5.0"

View File

@@ -20,8 +20,8 @@ thiserror = "2.0.17"
# probably shouldn't be in WASM
chacha20poly1305 = { version = "0.10.1", optional = true }
darkfi = { path = "../../../", features = ["zk", "rpc", "blockchain"], optional = true }
halo2_proofs = { version = "0.3.1", optional = true }
tracing = { version = "0.1.41", optional = true }
halo2_proofs = { version = "0.3.2", optional = true }
tracing = { version = "0.1.44", optional = true }
rand = { version = "0.8.5", optional = true }
# These are used just for the integration tests

View File

@@ -12,12 +12,12 @@ crate-type = ["cdylib", "rlib"]
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
darkfi-serial = { version = "0.5.0", features = ["derive", "crypto"] }
thiserror = "2.0.17"
wasmparser = "0.240.0"
wasmparser = "0.243.0"
# The following dependencies are used for the client API and
# probably shouldn't be in WASM
darkfi = { path = "../../../", features = ["zk"], optional = true }
tracing = { version = "0.1.41", optional = true }
tracing = { version = "0.1.44", optional = true }
rand = { version = "0.8.5", optional = true }
# These are used for integration tests

View File

@@ -19,8 +19,8 @@ thiserror = "2.0.17"
# probably shouldn't be in WASM
darkfi = { path = "../../../", features = ["zk"], optional = true }
chacha20poly1305 = { version = "0.10.1", optional = true }
halo2_proofs = { version = "0.3.1", optional = true }
tracing = { version = "0.1.41", optional = true }
halo2_proofs = { version = "0.3.2", optional = true }
tracing = { version = "0.1.44", optional = true }
rand = { version = "0.8.5", optional = true }
# Misc

View File

@@ -16,8 +16,8 @@ darkfi_deployooor_contract = {path = "../deployooor", features = ["client", "no-
num-bigint = "0.4.6"
blake3 = "1.8.2"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.20", default-features = false, features = ["fmt"] }
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.22", default-features = false, features = ["fmt"] }
rand = "0.8.5"
sled-overlay = "0.1.14"

View File

@@ -226,7 +226,14 @@ impl TorListener {
};
let (onion_service, rendreq_stream) = match client.launch_onion_service(hs_config) {
Ok(v) => v,
Ok(Some(v)) => v,
Ok(None) => {
error!(
target: "net::tor::do_listen",
"[P2P] Onion service disabled in config",
);
return Err(io::Error::other("Internal Tor error"));
}
Err(e) => {
error!(
target: "net::tor::do_listen",

View File

@@ -32,7 +32,7 @@ sha2 = "0.10.9"
blake2b_simd = "1.0.3"
blake3 = "1.8.2"
chacha20poly1305 = "0.10.1"
halo2_gadgets = "0.3.1"
halo2_gadgets = "0.4.0"
bridgetree = "0.7.0"
num-bigint = "0.4.6"
num-traits = "0.2.19"
@@ -43,14 +43,14 @@ rand = "0.8.5"
# Misc
lazy_static = "1.5.0"
subtle = "2.6.1"
hashbrown = "0.16.0"
hashbrown = "0.16.1"
# Storage
sled-overlay = "0.1.14"
[dev-dependencies]
halo2_proofs = {version = "0.3.1", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = {version = "0.3.1", features = ["test-dependencies"]}
halo2_proofs = {version = "0.3.2", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = {version = "0.4.0", features = ["test-dependencies"]}
[lints]
workspace = true

View File

@@ -20,8 +20,8 @@ darkfi_dao_contract = {path = "../../contract/dao", features=["no-entrypoint", "
darkfi_deployooor_contract = {path = "../../contract/deployooor", features=["no-entrypoint", "client"]}
darkfi-sdk = {path = "../"}
darkfi-serial = {version = "0.5.1", features = ["crypto"]}
halo2_proofs = {version = "0.3.1", features = ["circuit-params", "dev-graph", "sanity-checks"]}
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"]}
halo2_proofs = {version = "0.3.2", features = ["circuit-params", "dev-graph", "sanity-checks"]}
halo2_gadgets = {version = "0.4.0", features = ["circuit-params"]}
plotters = "0.3.7"
pyo3 = "0.26.0"
rand = "0.8.5"

View File

@@ -471,6 +471,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
lagrange_coeffs[0],
lookup,
range_check,
false, // allow_init_from_private_point
);
let merkle_cfg1 = MerkleChip::configure(meta, sinsemilla_cfg1.clone());
(sinsemilla_cfg1, merkle_cfg1)
@@ -484,6 +485,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
lagrange_coeffs[1],
lookup,
range_check,
false, // allow_init_from_private_point
);
let merkle_cfg2 = MerkleChip::configure(meta, sinsemilla_cfg2.clone());
(sinsemilla_cfg2, merkle_cfg2)