chore: Update crate dependencies

This commit is contained in:
parazyd
2024-05-27 15:12:40 +02:00
parent d8fe390e6d
commit 2e37330d0d
40 changed files with 1280 additions and 982 deletions

1930
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -52,49 +52,49 @@ members = [
[dependencies]
# Hard dependencies
libc = "0.2.153"
libc = "0.2.155"
log = "0.4.21"
thiserror = "1.0.57"
thiserror = "1.0.61"
# async-runtime
async-recursion = {version = "1.0.5", optional = true}
async-trait = {version = "0.1.77", optional = true}
async-recursion = {version = "1.1.1", optional = true}
async-trait = {version = "0.1.80", optional = true}
futures = {version = "0.3.30", optional = true}
smol = {version = "1.3.0", optional = true}
pin-project-lite = {version = "0.2.13", optional = true}
smol = {version = "2.0.0", optional = true}
pin-project-lite = {version = "0.2.14", optional = true}
# Networking
futures-rustls = {version = "0.25.1", optional = true}
futures-rustls = {version = "0.26.0", optional = true}
# Pluggable Transports
socket2 = {version = "0.5.6", features = ["all"], optional = true}
arti-client = {version = "0.14.1", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "accel-sha1-asm", "accel-openssl", "onion-service-client", "onion-service-service"], optional = true}
tor-error = {version = "0.6.1", optional = true}
tor-rtcompat = {version = "0.10.0", features = ["async-std", "rustls"], optional = true}
tor-hscrypto = {version = "0.6.1", optional = true}
socket2 = {version = "0.5.7", features = ["all"], optional = true}
arti-client = {version = "0.18.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "accel-sha1-asm", "accel-openssl", "onion-service-client", "onion-service-service"], optional = true}
tor-error = {version = "0.18.0", optional = true}
tor-rtcompat = {version = "0.18.0", features = ["async-std", "rustls"], optional = true}
tor-hscrypto = {version = "0.18.0", optional = true}
# TLS cert utilities
ed25519-compact = {version = "2.1.1", optional = true}
rcgen = {version = "0.12.1", optional = true}
rustls-pemfile = {version = "2.1.1", optional = true}
rustls-pemfile = {version = "2.1.2", optional = true}
x509-parser = {version = "0.16.0", features = ["validate", "verify"], optional = true}
# Encoding
bs58 = {version = "0.5.0", optional = true}
serde = {version = "1.0.197", features = ["derive"], optional = true}
bs58 = {version = "0.5.1", optional = true}
serde = {version = "1.0.203", features = ["derive"], optional = true}
tinyjson = {version = "2.5.1", optional = true}
semver = {version = "1.0.22", optional = true}
semver = {version = "1.0.23", optional = true}
structopt = {version= "0.3.26", optional = true}
structopt-toml = {version= "0.5.1", optional = true}
toml = {version = "0.8.10", optional = true}
toml = {version = "0.8.13", optional = true}
# Utilities
# TODO: check chrono usage and impl our own
chrono = {version = "0.4.35", optional = true}
chrono = {version = "0.4.38", optional = true}
darkfi-serial = {path = "src/serial", optional = true}
darkfi-derive = {path = "src/serial/derive", optional = true}
lazy_static = {version = "1.4.0", optional = true}
num-bigint = {version = "0.4.4", optional = true}
num-bigint = {version = "0.4.5", optional = true}
url = {version = "2.5.0", features = ["serde"], optional = true}
# Misc
@@ -102,16 +102,16 @@ simplelog = {version = "0.12.2", optional = true}
# Crypto
rand = {version = "0.8.5", optional = true}
blake3 = {version = "1.5.0", features = ["rayon"], optional = true}
blake3 = {version = "1.5.1", features = ["rayon"], optional = true}
crypto_api_chachapoly = {version = "0.5.0", optional = true}
halo2_proofs = {version = "0.3.0", features = ["circuit-params"], optional = true}
halo2_gadgets = {version = "0.3.0", features = ["circuit-params"], optional = true}
# Smart contract runtime
darkfi-sdk = {path = "src/sdk", optional = true}
wasmer = {version = "4.2.6", optional = true}
wasmer-compiler-singlepass = {version = "4.2.6", optional = true}
wasmer-middlewares = {version = "4.2.6", optional = true}
wasmer = {version = "4.3.1", optional = true}
wasmer-compiler-singlepass = {version = "4.3.1", optional = true}
wasmer-middlewares = {version = "4.3.1", optional = true}
# SQLite stuff
rusqlite = {version = "0.31.0", features = ["sqlcipher"], optional = true}
@@ -125,14 +125,14 @@ sled-overlay = {version = "0.1.2", optional = true}
randomx = {git = "https://github.com/darkrenaissance/RandomX", optional = true}
[dev-dependencies]
clap = {version = "4.5.2", features = ["derive"]}
clap = {version = "4.4.11", features = ["derive"]}
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = "0.3.0"
plotters = "0.3.5"
plotters = "0.3.6"
easy-parallel = "3.3.1"
prettytable-rs = "0.10.0"
# Used for benchmarks
criterion = { version = "0.4", features = ["html_reports"] }
criterion = { version = "0.5.1", features = ["html_reports"] }
# -----BEGIN LIBRARY FEATURES-----
[features]
@@ -314,8 +314,8 @@ zkas = [
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
# Temp rust nightly fix
pathfinder_simd = {git="https://github.com/servo/pathfinder", branch="main"}
# Temp smol-2.0 fix
async-lock = {git="https://github.com/smol-rs/async-lock", rev="542831132f2c707aae1c380edd43452053433814"}
[[bench]]
name = "zk_arith"
@@ -329,4 +329,3 @@ path = "bench/zk_from_json.rs"
name = "sled"
harness = false
path = "bench/sled.rs"

View File

@@ -19,8 +19,8 @@ PROOFS_BIN = $(PROOFS_SRC:=.bin)
BINS = \
zkas \
darkfid \
minerd \
darkfi-mmproxy \
minerd \
darkirc \
genev \
genevd \

View File

@@ -16,7 +16,7 @@ darkfi-serial = {path = "../../src/serial", features = ["async"]}
log = "0.4.21"
# Monero
monero = {version = "0.20.0", features = ["full"]}
monero = {version = "0.21.0", features = ["full"]}
# HTTP RPC
surf = "2.3.2"
@@ -31,9 +31,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -164,7 +164,7 @@ impl MiningProxy {
// Create the Merge Mining data
// TODO: This is where we're gonna include the necessary DarkFi data
// that has to end up in Monero blocks.
let mm_tag = MergeMining(Some(monero::VarInt(32)), monero::Hash([0_u8; 32]));
let mm_tag = MergeMining(monero::VarInt(32), monero::Hash([0_u8; 32]));
// Construct `tx_extra` from all the extra fields we have to add to
// the coinbase transaction in the block we're mining.

View File

@@ -17,15 +17,15 @@ darkfi-sdk = {path = "../../src/sdk"}
darkfi-serial = {path = "../../src/serial"}
# Misc
blake3 = "1.5.0"
blake3 = "1.5.1"
log = "0.4.21"
num-bigint = "0.4.4"
num-bigint = "0.4.5"
rand = "0.8.5"
sled = "0.34.7"
toml = "0.8.10"
toml = "0.8.13"
# JSON-RPC
async-trait = "0.1.77"
async-trait = "0.1.80"
tinyjson = "2.5.1"
url = "2.5.0"
@@ -34,9 +34,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -21,19 +21,19 @@ path = "src/main.rs"
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "rpc", "zk"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {path = "../../src/serial", features = ["async"]}
libc = "0.2.153"
libc = "0.2.155"
# Event Graph DB
sled = "0.34.7"
# TLS
async-trait = "0.1.77"
async-trait = "0.1.80"
futures = "0.3.30"
futures-rustls = "0.25.1"
rustls-pemfile = "2.1.1"
futures-rustls = "0.26.0"
rustls-pemfile = "2.1.2"
# Crypto
blake3 = "1.5.0"
blake3 = "1.5.1"
crypto_box = {version = "0.9.1", features = ["std", "chacha20"]}
rand = "0.8.5"
@@ -42,19 +42,19 @@ log = "0.4.21"
url = "2.5.0"
# Encoding and parsing
bs58 = "0.5.0"
toml = "0.8.10"
semver = "1.0.22"
bs58 = "0.5.1"
toml = "0.8.13"
semver = "1.0.23"
# Daemon
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -15,15 +15,15 @@ freetype-rs = { git = "https://github.com/narodnik/freetype-rs.git" }
#harfbuzz_rs = "2.0.1"
#freetype-rs = "0.36.0"
freetype-sys = "0.20.1"
image = "0.24"
log = "0.4.19"
image = "0.25.1"
log = "0.4.21"
glam = "0.27.0"
zmq = "0.10.0"
darkfi-serial = { path = "../../src/serial" }
thiserror = "1.0.57"
thiserror = "1.0.61"
# Only for async Mutex
smol = "1.3.0"
atomic_float = "0.1.0"
smol = "2.0.0"
atomic_float = "1.0.0"
rustpython-vm = "0.3.1"
@@ -34,7 +34,7 @@ rustpython-vm = "0.3.1"
freetype-rs = { git = "https://github.com/narodnik/freetype-rs.git" }
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.13"
android_logger = "0.13.3"
[target.'cfg(target_os = "linux")'.dependencies]
simplelog = "0.12.1"
@@ -42,4 +42,3 @@ simplelog = "0.12.1"
[package.metadata.android.activity_attributes]
"android:exported" = "true"
"android:windowSoftInputMode" = "adjustResize"

View File

@@ -9,13 +9,13 @@ license = "AGPL-3.0-only"
edition = "2021"
[dependencies]
async-trait = "0.1.77"
blake3 = "1.5.0"
async-trait = "0.1.80"
blake3 = "1.5.1"
darkfi = {path = "../../../", features = ["dht"]}
darkfi-serial = {path = "../../../src/serial", features = ["derive", "crypto"]}
easy-parallel = "3.3.1"
log = "0.4.21"
rand = "0.8.5"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
url = "2.5.0"

View File

@@ -18,14 +18,14 @@ darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {path = "../../src/serial"}
# Misc
blake3 = "1.5.0"
bs58 = "0.5.0"
blake3 = "1.5.1"
bs58 = "0.5.1"
lazy_static = "1.4.0"
log = "0.4.21"
num-bigint = "0.4.4"
num-bigint = "0.4.5"
prettytable-rs = "0.10.0"
rand = "0.8.5"
rodio = {version = "0.17.3", default-features = false, features = ["minimp3"]}
rodio = {version = "0.18.1", default-features = false, features = ["minimp3"]}
rusqlite = {version = "0.31.0", features = ["sqlcipher"]}
url = "2.5.0"
@@ -34,9 +34,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -15,8 +15,8 @@ darkfi = {path = "../../../", features = ["util", "rpc"]}
async-std = {version = "1.12.0", features = ["attributes"]}
# Misc
clap = {version = "4.5.2", features = ["derive"]}
clap = {version = "4.4.11", features = ["derive"]}
log = "0.4.21"
serde_json = "1.0.114"
serde_json = "1.0.117"
simplelog = "0.12.2"
url = "2.5.0"

View File

@@ -13,8 +13,8 @@ darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc"]}
darkfi-serial = {path = "../../../src/serial", features = ["hash"]}
# Misc
async-trait = "0.1.77"
blake3 = "1.5.0"
async-trait = "0.1.80"
blake3 = "1.5.1"
log = "0.4.21"
tinyjson = "2.5.1"
url = "2.5.0"
@@ -24,9 +24,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -14,8 +14,8 @@ genevd = {path = "../genevd"}
darkfi = {path = "../../../", features = ["event-graph", "rpc", "bs58"]}
darkfi-serial = {path = "../../../src/serial"}
smol = "1.3.0"
clap = {version = "4.5.2", features = ["derive"]}
smol = "2.0.0"
clap = {version = "4.4.11", features = ["derive"]}
log = "0.4.21"
simplelog = "0.12.2"
tinyjson = "2.5.1"

View File

@@ -25,13 +25,13 @@ darkfi = { path = "../../../", features = [
darkfi-serial = { path = "../../../src/serial" }
# Crypto
blake3 = "1.5.0"
blake3 = "1.5.1"
# Event Graph DB
sled = "0.34.7"
# Misc
async-trait = "0.1.77"
async-trait = "0.1.80"
log = "0.4.21"
tinyjson = "2.5.1"
url = "2.5.0"
@@ -41,9 +41,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = { version = "1.0.197", features = ["derive"] }
serde = { version = "1.0.203", features = ["derive"] }
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -12,12 +12,12 @@ repository = "https://github.com/darkrenaissance/darkfi"
darkfi = {path = "../../", features = ["toml", "async-daemonize", "net", "rpc"]}
# Misc
async-trait = "0.1.77"
async-trait = "0.1.80"
futures = "0.3.30"
log = "0.4.21"
semver = "1.0.22"
semver = "1.0.23"
tinyjson = "2.5.1"
toml = "0.8.10"
toml = "0.8.13"
url = "2.5.0"
# Daemon
@@ -25,9 +25,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -16,7 +16,7 @@ darkfi-serial = {path = "../../src/serial", features = ["async"]}
# Misc
log = "0.4.21"
num-bigint = "0.4.4"
num-bigint = "0.4.5"
# JSON-RPC
tinyjson = "2.5.1"
@@ -27,9 +27,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -9,22 +9,22 @@ homepage = "https://dark.fi"
repository = "https://github.com/darkrenaissance/darkfi"
[dependencies]
libc = "0.2.153"
libc = "0.2.155"
darkfi = {path = "../../../", features = ["rpc"]}
taud = {path = "../taud"}
# Misc
chrono = "0.4.35"
chrono = "0.4.38"
colored = "2.1.0"
log = "0.4.21"
prettytable-rs = "0.10.0"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
term_grid = { git = "https://github.com/Dastan-glitch/rust-term-grid.git" }
textwrap = "0.16.1"
url = "2.5.0"
# Encoding and parsing
clap = {version = "4.5.2", features = ["derive"]}
serde = {version = "1.0.197", features = ["derive"]}
clap = {version = "4.4.11", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
tinyjson = "2.5.1"

View File

@@ -29,22 +29,22 @@ darkfi-serial = { path = "../../../src/serial" }
sled = "0.34.7"
# Crypto
blake3 = "1.5.0"
blake3 = "1.5.1"
crypto_box = { version = "0.9.1", features = ["std", "chacha20"] }
rand = "0.8.5"
# Encoding and parsing
bs58 = "0.5.0"
bs58 = "0.5.1"
hex = "0.4.3"
toml = "0.8.10"
toml = "0.8.13"
# Misc
async-trait = "0.1.77"
chrono = "0.4.35"
async-trait = "0.1.80"
chrono = "0.4.38"
futures = "0.3.30"
libc = "0.2.153"
libc = "0.2.155"
log = "0.4.21"
thiserror = "1.0.57"
thiserror = "1.0.61"
tinyjson = "2.5.1"
url = "2.5.0"
@@ -53,9 +53,9 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# Argument parsing
serde = { version = "1.0.197", features = ["derive"] }
serde = { version = "1.0.203", features = ["derive"] }
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -10,10 +10,10 @@ edition = "2021"
[dependencies]
arg = {git = "https://github.com/parazyd/arg"}
bs58 = "0.5.0"
ctrlc = "3.4.2"
bs58 = "0.5.1"
ctrlc = "3.4.4"
darkfi = {path = "../../", features = ["util"]}
darkfi-sdk = {path = "../../src/sdk"}
darkfi_money_contract = {path = "../../src/contract/money", features = ["no-entrypoint", "client"]}
rand = "0.8.5"
rayon = "1.9.0"
rayon = "1.10.0"

View File

@@ -20,15 +20,15 @@ easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.2"
smol = "1.3.0"
smol = "2.0.0"
# arg parsing
serde = {version = "1.0.197", features = ["derive"]}
serde = {version = "1.0.203", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
# misc
async-trait = "0.1.77"
async-trait = "0.1.80"
log = "0.4.21"
url = "2.5.0"
# ANCHOR_END: dependencies

View File

@@ -12,23 +12,23 @@ edition = "2021"
[dependencies]
darkfi = {path = "../../", features = ["net", "rpc"]}
# Async
smol = "1.3.0"
smol = "2.0.0"
futures = "0.3.30"
async-std = "1.12.0"
async-trait = "0.1.77"
async-channel = "2.2.0"
async-executor = "1.9.0"
async-trait = "0.1.80"
async-channel = "2.3.1"
async-executor = "1.12.0"
easy-parallel = "3.3.1"
# Crypto
rand = "0.8.5"
# Misc
clap = {version = "4.5.2", features = ["derive"]}
clap = {version = "4.4.11", features = ["derive"]}
log = "0.4.21"
simplelog = "0.12.2"
fxhash = "0.2.1"
url = "2.5.0"
# Encoding and parsing
serde_json = "1.0.114"
serde_json = "1.0.117"

View File

@@ -8,8 +8,8 @@ edition = "2021"
cargo-fuzz = true
[dependencies]
honggfuzz = "0.5.55"
bitcoin = "0.31.1"
honggfuzz = "0.5.56"
bitcoin = "0.32.0"
[dependencies.darkfi]
path = "../.."

View File

@@ -10,11 +10,11 @@ edition = "2021"
[workspace]
[dependencies]
blake3 = "1.5.0"
clap = {version = "4.5.2", features = ["derive"]}
blake3 = "1.5.1"
clap = {version = "4.4.11", features = ["derive"]}
darkfi = {path = "../../../", features = ["blockchain"]}
darkfi-sdk = {path = "../../../src/sdk"}
num-bigint = "0.4.4"
num-bigint = "0.4.5"
sled = "0.34.7"
[patch.crates-io]

View File

@@ -10,22 +10,22 @@ path = "../../../"
features = ["dht"]
[dependencies]
async-channel = "2.2.0"
async-executor = "1.9.0"
async-channel = "2.3.1"
async-executor = "1.12.0"
async-std = "1.12.0"
async-trait = "0.1.77"
blake3 = "1.5.0"
ctrlc = { version = "3.4.2", features = ["termination"] }
async-trait = "0.1.80"
blake3 = "1.5.1"
ctrlc = { version = "3.4.4", features = ["termination"] }
easy-parallel = "3.3.1"
futures-lite = "2.2.0"
futures-lite = "2.3.0"
log = "0.4.21"
serde_json = "1.0.114"
serde_json = "1.0.117"
simplelog = "0.12.2"
url = "2.5.0"
# Argument parsing
serde = "1.0.197"
serde_derive = "1.0.197"
serde = "1.0.203"
serde_derive = "1.0.203"
structopt = "0.3.26"
structopt-toml = "0.5.1"

View File

@@ -22,8 +22,8 @@ darkfi-serial = {path = "../../../src/serial"}
# Misc
async-std = {version = "1.12.0", features = ["attributes"]}
bs58 = "0.5.0"
clap = {version = "4.5.2", features = ["derive"]}
bs58 = "0.5.1"
clap = {version = "4.4.11", features = ["derive"]}
sled = "0.34.7"
[patch.crates-io]

View File

@@ -10,7 +10,7 @@ edition = "2021"
[workspace]
[dependencies]
anyhow = "1.0.80"
anyhow = "1.0.86"
darkfi = {path = "../../../", features = ["blockchain"]}
darkfi-sdk = {path = "../../../src/sdk"}

View File

@@ -13,7 +13,7 @@ darkfi = {path = "../../../", features = ["util", "async-serial"]}
rand = "0.8.5"
blake2b_simd = "1.0.2"
num-bigint = "0.4.4"
num-bigint = "0.4.5"
lazy_static = "1.4.0"
[patch.crates-io]

View File

@@ -12,7 +12,7 @@ darkfi-sdk = {path = "../../../../src/sdk"}
darkfi = {path = "../../../../", features = ["zk"]}
lazy_static = "1.4.0"
rand = "0.8.5"
blake3 = "1.5.0"
blake3 = "1.5.1"
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}

View File

@@ -11,6 +11,6 @@ edition = "2021"
darkfi = {path = "../../../", features = ["util"]}
darkfi-serial = {path = "../../../src/serial"}
blake3 = "1.5.0"
num-bigint = "0.4.4"
blake3 = "1.5.1"
num-bigint = "0.4.5"
rand = "0.8.5"

View File

@@ -8,5 +8,5 @@ edition = "2021"
[workspace]
[dependencies]
tfhe = {version = "0.5.3", features = ["boolean", "shortint", "integer", "x86_64-unix", "internal-keycache"]}
rayon = "1.9.0"
tfhe = {version = "0.5.4", features = ["boolean", "shortint", "integer", "x86_64-unix", "internal-keycache"]}
rayon = "1.10.0"

View File

@@ -10,11 +10,11 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
blake2b_simd = "1.0.2"
bs58 = "0.5.0"
bs58 = "0.5.1"
darkfi-sdk = { path = "../../sdk" }
darkfi-serial = { path = "../../serial", features = ["derive", "crypto"] }
darkfi_money_contract = { path = "../money", features = ["no-entrypoint"] }
thiserror = "1.0.57"
thiserror = "1.0.61"
# The following dependencies are used for the client API and
# probably shouldn't be in WASM
@@ -26,7 +26,7 @@ rand = { version = "0.8.5", optional = true }
# These are used just for the integration tests
[dev-dependencies]
smol = "1.3.0"
smol = "2.0.0"
darkfi = {path = "../../../", features = ["tx", "blockchain"]}
darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint"]}
simplelog = "0.12.2"

View File

@@ -11,8 +11,8 @@ crate-type = ["cdylib", "rlib"]
[dependencies]
darkfi-sdk = { path = "../../sdk" }
darkfi-serial = { path = "../../serial", features = ["derive", "crypto"] }
thiserror = "1.0.57"
wasmparser = "0.201.0"
thiserror = "1.0.61"
wasmparser = "0.208.1"
# The following dependencies are used for the client API and
# probably shouldn't be in WASM
@@ -23,7 +23,7 @@ rand = { version = "0.8.5", optional = true }
# These are used for integration tests
[dev-dependencies]
darkfi-contract-test-harness = {path = "../test-harness"}
smol = "1.3.0"
smol = "2.0.0"
# We need to disable random using "custom" which makes the crate a noop
# so the wasm32-unknown-unknown target is enabled.

View File

@@ -9,11 +9,11 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]
[dependencies]
blake3 = "1.5.0"
bs58 = "0.5.0"
blake3 = "1.5.1"
bs58 = "0.5.1"
darkfi-sdk = { path = "../../sdk" }
darkfi-serial = { path = "../../serial", features = ["derive", "crypto"] }
thiserror = "1.0.57"
thiserror = "1.0.61"
# The following dependencies are used for the client API and
# probably shouldn't be in WASM
@@ -28,7 +28,7 @@ lazy_static = "1.4.0"
# These are used just for the integration tests
[dev-dependencies]
smol = "1.3.0"
smol = "2.0.0"
darkfi = {path = "../../../", features = ["tx", "blockchain"]}
simplelog = "0.12.2"
sled = "0.34.7"

View File

@@ -14,8 +14,8 @@ darkfi_dao_contract = {path = "../dao", features = ["client", "no-entrypoint"]}
darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint"]}
darkfi_deployooor_contract = {path = "../deployooor", features = ["client", "no-entrypoint"]}
num-bigint = "0.4.4"
blake3 = "1.5.0"
num-bigint = "0.4.5"
blake3 = "1.5.1"
log = "0.4.21"
rand = "0.8.5"
simplelog = "0.12.2"

View File

@@ -17,23 +17,23 @@ async = ["darkfi-serial/async"]
[dependencies]
# Error handling
thiserror = "1.0.57"
thiserror = "1.0.61"
# Serialization
darkfi-serial = {path = "../serial", features = ["crypto"]}
# Encoding
bs58 = "0.5.0"
bs58 = "0.5.1"
sha2 = "0.10.8"
# Cryptography
blake2b_simd = "1.0.2"
blake3 = "1.5.0"
blake3 = "1.5.1"
chacha20poly1305 = "0.10.1"
halo2_gadgets = "0.3.0"
bridgetree = "0.4.0"
num-bigint = "0.4.4"
num-traits = "0.2.18"
num-bigint = "0.4.5"
num-traits = "0.2.19"
pasta_curves = "0.5.1"
rand_core = "0.6.4"

View File

@@ -18,6 +18,6 @@ darkfi = {path = "../../../", features = ["zk", "zkas"]}
darkfi-sdk = {path = "../"}
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = "0.3.0"
plotters = "0.3.5"
pyo3 = "0.20.3"
plotters = "0.3.6"
pyo3 = {version = "0.21.2", features = ["gil-refs"]}
rand = "0.8.5"

View File

@@ -102,7 +102,7 @@ macro_rules! impl_elem {
}
fn __repr__(slf: &PyCell<Self>) -> PyResult<String> {
let class_name: &str = slf.get_type().name()?;
let class_name: &str = &slf.get_type().name()?;
Ok(format!("{}({:?})", class_name, slf.borrow().0))
}
@@ -169,7 +169,7 @@ macro_rules! impl_affine {
}
fn __repr__(slf: &PyCell<Self>) -> PyResult<String> {
let class_name: &str = slf.get_type().name()?;
let class_name: &str = &slf.get_type().name()?;
Ok(format!("{}({:?})", class_name, slf.borrow().0))
}
}
@@ -213,7 +213,7 @@ macro_rules! impl_point {
}
fn __repr__(slf: &PyCell<Self>) -> PyResult<String> {
let class_name: &str = slf.get_type().name()?;
let class_name: &str = &slf.get_type().name()?;
Ok(format!("{}({:?})", class_name, slf.borrow().0))
}

View File

@@ -10,14 +10,14 @@ edition = "2021"
[dependencies]
darkfi-derive = {version = "0.4.1", path = "./derive", optional = true}
futures-lite = {version = "2.2.0", optional = true}
async-trait = {version = "0.1.77", optional = true}
futures-lite = {version = "2.3.0", optional = true}
async-trait = {version = "0.1.80", optional = true}
# Supported types for encoding
blake3 = {version = "1.5.0", optional = true}
blake3 = {version = "1.5.1", optional = true}
bridgetree = {version = "0.4.0", optional = true}
pasta_curves = {version = "0.5.1", optional = true}
semver = {version = "1.0.22", optional = true}
semver = {version = "1.0.23", optional = true}
url = {version = "2.5.0", optional = true}
num-bigint = {version = "0.4.5", optional = true}

View File

@@ -9,9 +9,9 @@ license = "AGPL-3.0-only"
edition = "2021"
[dependencies]
proc-macro2 = "1.0.78"
quote = "1.0.35"
syn = {version = "2.0.52", features = ["full", "fold"]}
proc-macro2 = "1.0.84"
quote = "1.0.36"
syn = {version = "2.0.66", features = ["full", "fold"]}
[features]
default = []

View File

@@ -13,9 +13,9 @@ proc-macro = true
[dependencies]
proc-macro-crate = "3.0.0"
proc-macro2 = "1.0.78"
quote = "1.0.35"
syn = {version = "2.0.52", features = ["full", "fold"]}
proc-macro2 = "1.0.84"
quote = "1.0.36"
syn = {version = "2.0.66", features = ["full", "fold"]}
darkfi-derive-internal = {version = "0.4.1", path = "../derive-internal"}