mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 14:48:08 -05:00
chore: Update crate dependencies
This commit is contained in:
2547
Cargo.lock
generated
2547
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
50
Cargo.toml
50
Cargo.toml
@@ -52,42 +52,42 @@ members = [
|
||||
|
||||
[dependencies]
|
||||
# Hard dependencies
|
||||
libc = "0.2.159"
|
||||
log = "0.4.22"
|
||||
thiserror = "1.0.64"
|
||||
libc = "0.2.169"
|
||||
log = "0.4.25"
|
||||
thiserror = "2.0.11"
|
||||
|
||||
# async-runtime
|
||||
async-recursion = {version = "1.1.1", optional = true}
|
||||
async-trait = {version = "0.1.83", optional = true}
|
||||
async-trait = {version = "0.1.85", optional = true}
|
||||
futures = {version = "0.3.31", optional = true}
|
||||
smol = {version = "2.0.2", optional = true}
|
||||
pin-project-lite = {version = "0.2.14", optional = true}
|
||||
pin-project-lite = {version = "0.2.16", optional = true}
|
||||
|
||||
# Networking
|
||||
futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"], optional = true}
|
||||
|
||||
# Pluggable Transports
|
||||
socket2 = {version = "0.5.7", features = ["all"], optional = true}
|
||||
arti-client = {version = "0.23.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
|
||||
tor-error = {version = "0.23.0", optional = true}
|
||||
tor-rtcompat = {version = "0.23.0", features = ["async-std", "rustls"], optional = true}
|
||||
tor-hscrypto = {version = "0.23.0", optional = true}
|
||||
tor-hsservice = {version = "0.23.0", optional = true}
|
||||
tor-proto = {version = "0.23.0", optional = true}
|
||||
tor-cell = {version = "0.23.0", optional = true}
|
||||
socket2 = {version = "0.5.8", features = ["all"], optional = true}
|
||||
arti-client = {version = "0.26.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
|
||||
tor-error = {version = "0.26.0", optional = true}
|
||||
tor-rtcompat = {version = "0.26.0", features = ["async-std", "rustls"], optional = true}
|
||||
tor-hscrypto = {version = "0.26.0", optional = true}
|
||||
tor-hsservice = {version = "0.26.0", optional = true}
|
||||
tor-proto = {version = "0.26.0", optional = true}
|
||||
tor-cell = {version = "0.26.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.3", optional = true}
|
||||
rustls-pemfile = {version = "2.2.0", optional = true}
|
||||
x509-parser = {version = "0.16.0", features = ["validate", "verify"], optional = true}
|
||||
|
||||
# Encoding
|
||||
bs58 = {version = "0.5.1", optional = true}
|
||||
serde = {version = "1.0.210", features = ["derive"], optional = true}
|
||||
serde = {version = "1.0.217", features = ["derive"], optional = true}
|
||||
tinyjson = {version = "2.5.1", optional = true}
|
||||
httparse = {version = "1.9.5", optional = true}
|
||||
semver = {version = "1.0.23", optional = true}
|
||||
semver = {version = "1.0.25", optional = true}
|
||||
structopt = {version= "0.3.26", optional = true}
|
||||
structopt-toml = {version= "0.5.1", optional = true}
|
||||
toml = {version = "0.8.19", optional = true}
|
||||
@@ -99,27 +99,27 @@ darkfi-serial = {version = "0.4.2", optional = true}
|
||||
darkfi-derive = {version = "0.4.2", optional = true}
|
||||
|
||||
# TODO: check chrono usage and impl our own
|
||||
chrono = {version = "0.4.38", optional = true}
|
||||
chrono = {version = "0.4.39", optional = true}
|
||||
lazy_static = {version = "1.5.0", optional = true}
|
||||
num-bigint = {version = "0.4.6", optional = true}
|
||||
url = {version = "2.5.2", features = ["serde"], optional = true}
|
||||
url = {version = "2.5.4", features = ["serde"], optional = true}
|
||||
|
||||
# Misc
|
||||
simplelog = {version = "0.12.2", optional = true}
|
||||
regex = {version = "1.11.0", optional = true}
|
||||
regex = {version = "1.11.1", optional = true}
|
||||
|
||||
# Crypto
|
||||
rand = {version = "0.8.5", optional = true}
|
||||
blake3 = {version = "1.5.4", features = ["rayon"], optional = true}
|
||||
blake3 = {version = "1.5.5", 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}
|
||||
halo2_gadgets = {version = "0.3.1", features = ["circuit-params"], optional = true}
|
||||
|
||||
# Smart contract runtime
|
||||
darkfi-sdk = {path = "src/sdk", optional = true}
|
||||
wasmer = {version = "4.4.0", optional = true}
|
||||
wasmer-compiler-singlepass = {version = "4.4.0", optional = true}
|
||||
wasmer-middlewares = {version = "4.4.0", optional = true}
|
||||
wasmer = {version = "5.0.5-rc1", optional = true}
|
||||
wasmer-compiler-singlepass = {version = "5.0.5-rc1", optional = true}
|
||||
wasmer-middlewares = {version = "5.0.5-rc1", optional = true}
|
||||
|
||||
# Blockchain store
|
||||
sled-overlay = {version = "0.1.6", optional = true}
|
||||
@@ -130,7 +130,7 @@ randomx = {git = "https://github.com/darkrenaissance/RandomX", optional = true}
|
||||
[dev-dependencies]
|
||||
clap = {version = "4.4.11", features = ["derive"]}
|
||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
||||
halo2_gadgets = "0.3.0"
|
||||
halo2_gadgets = "0.3.1"
|
||||
plotters = "0.3.7"
|
||||
easy-parallel = "3.3.1"
|
||||
prettytable-rs = "0.10.0"
|
||||
|
||||
2
bin/app/Cargo.lock
generated
2
bin/app/Cargo.lock
generated
@@ -4154,7 +4154,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "rusqlite"
|
||||
version = "0.32.1"
|
||||
version = "0.33.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e"
|
||||
dependencies = [
|
||||
|
||||
@@ -15,16 +15,18 @@ miniquad = { git = "https://github.com/not-fl3/miniquad" }
|
||||
#harfbuzz-sys = "0.6.1"
|
||||
#harfbuzz-sys = { git = "https://github.com/servo/rust-harfbuzz", features = ["bundled"] }
|
||||
harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz2", features = ["bundled"] }
|
||||
freetype-rs = { version = "0.37.0", features = ["bundled"] }
|
||||
freetype-rs = { version = "0.38.0", features = ["bundled"] }
|
||||
|
||||
image = "0.25.2"
|
||||
log = { version = "0.4", features = ["release_max_level_info"] }
|
||||
glam = "0.29.0"
|
||||
image = "0.25.5"
|
||||
log = { version = "0.4.25", features = ["release_max_level_info"] }
|
||||
glam = "0.29.2"
|
||||
#zmq = "0.10.0"
|
||||
#async_zmq = "0.4.0"
|
||||
zeromq = { version = "0.4.1", default-features = false, features = ["async-std-runtime", "all-transport"] }
|
||||
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
|
||||
#darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
|
||||
darkfi-serial = {version = "0.4.2", features = ["async"]}
|
||||
thiserror = "1.0.64"
|
||||
thiserror = "2.0.11"
|
||||
smol = "2.0.2"
|
||||
atomic_float = "1.1.0"
|
||||
async-channel = "2.3.1"
|
||||
@@ -33,19 +35,19 @@ rand = "0.8.5"
|
||||
async-lock = "3.4.0"
|
||||
futures = "0.3.31"
|
||||
async-recursion = "1.1.1"
|
||||
colored = "2.1.0"
|
||||
colored = "3.0.0"
|
||||
#rustpython-vm = "0.3.1"
|
||||
sled-overlay = "0.1.6"
|
||||
url = "2.5.2"
|
||||
semver = "1.0.23"
|
||||
chrono = "0.4.38"
|
||||
url = "2.5.4"
|
||||
semver = "1.0.25"
|
||||
chrono = "0.4.39"
|
||||
async-gen = "0.2.3"
|
||||
async-trait = "0.1.83"
|
||||
blake3 = "1.5.4"
|
||||
async-trait = "0.1.85"
|
||||
blake3 = "1.5.5"
|
||||
simplelog = "0.12.2"
|
||||
# For log files
|
||||
file-rotate = "0.7.6"
|
||||
parking_lot = { version = "0.12", features = ["nightly"] }
|
||||
parking_lot = { version = "0.12.3", features = ["nightly"] }
|
||||
regex = "1.11"
|
||||
|
||||
[features]
|
||||
@@ -75,12 +77,12 @@ dirs = "5.0.1"
|
||||
android_logger = "0.13.3"
|
||||
# Required by Arti: tor-dirmgr
|
||||
rusqlite = {version = "0.32.1", features = ["bundled"]}
|
||||
tor-dirmgr = {version="0.23.0", features=["static"]}
|
||||
tor-dirmgr = {version="0.26.0", features=["static"]}
|
||||
#android-fileopen = {path = "./android-fileopen/"}
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
# Used by tor-dirmgr
|
||||
rusqlite = {version = "0.32", features = ["bundled"]}
|
||||
rusqlite = {version = "0.32.1", features = ["bundled"]}
|
||||
|
||||
[package.metadata.android.activity_attributes]
|
||||
"android:exported" = "true"
|
||||
@@ -102,4 +104,3 @@ assets = "assets"
|
||||
name = "android.permission.INTERNET"
|
||||
[[package.metadata.android.permission]]
|
||||
name = "android.permission.ACCESS_NETWORK_STATE"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ darkfi = {path = "../../", features = ["async-daemonize", "async-serial", "syste
|
||||
darkfi-serial = {version = "0.4.2", features = ["async"]}
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
|
||||
# Monero
|
||||
monero = {version = "0.21.0", features = ["full"]}
|
||||
@@ -24,7 +24,7 @@ tide = "0.17.0-beta.1"
|
||||
|
||||
# Encoding
|
||||
hex = "0.4.3"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -34,7 +34,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -17,18 +17,18 @@ darkfi-sdk = {path = "../../src/sdk"}
|
||||
darkfi-serial = "0.4.2"
|
||||
|
||||
# Misc
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
bs58 = "0.5.1"
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
num-bigint = "0.4.6"
|
||||
rand = "0.8.5"
|
||||
sled-overlay = "0.1.6"
|
||||
toml = "0.8.19"
|
||||
|
||||
# JSON-RPC
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -38,7 +38,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -21,31 +21,31 @@ path = "src/main.rs"
|
||||
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
|
||||
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
|
||||
darkfi-serial = {version = "0.4.2", features = ["async"]}
|
||||
libc = "0.2.159"
|
||||
libc = "0.2.169"
|
||||
|
||||
# Event Graph DB
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
# TLS
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
futures = "0.3.31"
|
||||
futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"]}
|
||||
rustls-pemfile = "2.1.3"
|
||||
rustls-pemfile = "2.2.0"
|
||||
|
||||
# Crypto
|
||||
blake3 = "1.5.4"
|
||||
bcrypt = "0.15.1"
|
||||
blake3 = "1.5.5"
|
||||
bcrypt = "0.16.0"
|
||||
crypto_box = {version = "0.9.1", features = ["std", "chacha20"]}
|
||||
rand = "0.8.5"
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
url = "2.5.2"
|
||||
log = "0.4.25"
|
||||
url = "2.5.4"
|
||||
|
||||
# Encoding and parsing
|
||||
bs58 = "0.5.1"
|
||||
toml = "0.8.19"
|
||||
semver = "1.0.23"
|
||||
semver = "1.0.25"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -55,7 +55,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
@@ -66,4 +66,3 @@ rusqlite = {version = "0.32.1", features = ["bundled"]}
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
|
||||
@@ -9,16 +9,16 @@ license = "AGPL-3.0-only"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
async-trait = "0.1.83"
|
||||
blake3 = "1.5.4"
|
||||
async-trait = "0.1.85"
|
||||
blake3 = "1.5.5"
|
||||
darkfi = {path = "../../../", features = ["dht"]}
|
||||
darkfi-serial = {version = "0.4.2", features = ["derive", "crypto"]}
|
||||
easy-parallel = "3.3.1"
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
rand = "0.8.5"
|
||||
simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -18,17 +18,17 @@ darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
|
||||
darkfi-serial = "0.4.2"
|
||||
|
||||
# Misc
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
bs58 = "0.5.1"
|
||||
lazy_static = "1.5.0"
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
num-bigint = "0.4.6"
|
||||
prettytable-rs = "0.10.0"
|
||||
rand = "0.8.5"
|
||||
rodio = {version = "0.19.0", default-features = false, features = ["minimp3"]}
|
||||
rodio = {version = "0.20.1", default-features = false, features = ["minimp3"]}
|
||||
rusqlite = {version = "0.32.1", features = ["sqlcipher"]}
|
||||
toml = "0.8.19"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -38,7 +38,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -16,10 +16,10 @@ async-std = {version = "1.13.0", features = ["attributes"]}
|
||||
|
||||
# Misc
|
||||
clap = {version = "4.4.11", features = ["derive"]}
|
||||
log = "0.4.22"
|
||||
serde_json = "1.0.128"
|
||||
log = "0.4.25"
|
||||
serde_json = "1.0.137"
|
||||
simplelog = "0.12.2"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -13,11 +13,11 @@ darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc"]}
|
||||
darkfi-serial = {version = "0.4.2", features = ["hash"]}
|
||||
|
||||
# Misc
|
||||
async-trait = "0.1.83"
|
||||
blake3 = "1.5.4"
|
||||
log = "0.4.22"
|
||||
async-trait = "0.1.85"
|
||||
blake3 = "1.5.5"
|
||||
log = "0.4.25"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -27,7 +27,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -16,10 +16,10 @@ darkfi-serial = "0.4.2"
|
||||
|
||||
smol = "2.0.2"
|
||||
clap = {version = "4.4.11", features = ["derive"]}
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
simplelog = "0.12.2"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -25,16 +25,16 @@ darkfi = { path = "../../../", features = [
|
||||
darkfi-serial = "0.4.2"
|
||||
|
||||
# Crypto
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
|
||||
# Event Graph DB
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
# Misc
|
||||
async-trait = "0.1.83"
|
||||
log = "0.4.22"
|
||||
async-trait = "0.1.85"
|
||||
log = "0.4.25"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -44,7 +44,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = { version = "1.0.210", features = ["derive"] }
|
||||
serde = { version = "1.0.217", features = ["derive"] }
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -12,13 +12,13 @@ repository = "https://codeberg.org/darkrenaissance/darkfi"
|
||||
darkfi = {path = "../../", features = ["toml", "async-daemonize", "rpc"]}
|
||||
|
||||
# Misc
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
futures = "0.3.31"
|
||||
log = "0.4.22"
|
||||
semver = "1.0.23"
|
||||
log = "0.4.25"
|
||||
semver = "1.0.25"
|
||||
tinyjson = "2.5.1"
|
||||
toml = "0.8.19"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -28,7 +28,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@ darkfi-sdk = {path = "../../src/sdk"}
|
||||
darkfi-serial = {version = "0.4.2", features = ["async"]}
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
num-bigint = "0.4.6"
|
||||
|
||||
# JSON-RPC
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -30,7 +30,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ darkfi-serial = "0.4.2"
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
# Crypto
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
crypto_box = { version = "0.9.1", features = ["std", "chacha20"] }
|
||||
rand = "0.8.5"
|
||||
ring = "0.17.8"
|
||||
@@ -40,14 +40,14 @@ bs58 = "0.5.1"
|
||||
toml = "0.8.19"
|
||||
|
||||
# Misc
|
||||
async-trait = "0.1.83"
|
||||
chrono = "0.4.38"
|
||||
async-trait = "0.1.85"
|
||||
chrono = "0.4.39"
|
||||
futures = "0.3.31"
|
||||
libc = "0.2.159"
|
||||
log = "0.4.22"
|
||||
thiserror = "1.0.64"
|
||||
libc = "0.2.169"
|
||||
log = "0.4.25"
|
||||
thiserror = "2.0.11"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -57,7 +57,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = { version = "1.0.210", features = ["derive"] }
|
||||
serde = { version = "1.0.217", features = ["derive"] }
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -23,14 +23,14 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# arg parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
# misc
|
||||
async-trait = "0.1.83"
|
||||
log = "0.4.22"
|
||||
url = "2.5.2"
|
||||
async-trait = "0.1.85"
|
||||
log = "0.4.25"
|
||||
url = "2.5.4"
|
||||
# ANCHOR_END: dependencies
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -15,7 +15,7 @@ darkfi = {path = "../../", features = ["net", "rpc"]}
|
||||
smol = "2.0.2"
|
||||
futures = "0.3.31"
|
||||
async-std = "1.13.0"
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
async-channel = "2.3.1"
|
||||
async-executor = "1.13.1"
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -25,13 +25,13 @@ rand = "0.8.5"
|
||||
|
||||
# Misc
|
||||
clap = {version = "4.4.11", features = ["derive"]}
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
simplelog = "0.12.2"
|
||||
fxhash = "0.2.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Encoding and parsing
|
||||
serde_json = "1.0.128"
|
||||
serde_json = "1.0.137"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
@@ -11,7 +11,7 @@ cargo-fuzz = true
|
||||
workspace = true
|
||||
|
||||
[dependencies]
|
||||
libfuzzer-sys = "0.4.7"
|
||||
libfuzzer-sys = "0.4.8"
|
||||
|
||||
[dependencies.darkfi]
|
||||
path = ".."
|
||||
|
||||
@@ -9,7 +9,7 @@ cargo-fuzz = true
|
||||
|
||||
[dependencies]
|
||||
honggfuzz = "0.5.56"
|
||||
bitcoin = "0.32.3"
|
||||
bitcoin = "0.32.5"
|
||||
|
||||
[dependencies.darkfi]
|
||||
path = "../.."
|
||||
|
||||
@@ -29,24 +29,24 @@ darkfi-serial = {version = "0.4.2", features = ["async"]}
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
# Crypto
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
url = "2.5.2"
|
||||
log = "0.4.25"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
smol = "2.0.2"
|
||||
|
||||
# evgrd deps
|
||||
async-trait = {version = "0.1.83", optional = true}
|
||||
async-trait = {version = "0.1.85", optional = true}
|
||||
futures = {version = "0.3.31", optional = true}
|
||||
semver = {version = "1.0.23", optional = true}
|
||||
semver = {version = "1.0.25", optional = true}
|
||||
easy-parallel = {version = "3.3.1", optional = true}
|
||||
signal-hook-async-std = {version = "0.2.2", optional = true}
|
||||
signal-hook = {version = "0.3.17", optional = true}
|
||||
simplelog = {version = "0.12.2", optional = true}
|
||||
serde = {version = "1.0.210", features = ["derive"], optional = true}
|
||||
serde = {version = "1.0.217", features = ["derive"], optional = true}
|
||||
structopt = {version = "0.3.26", optional = true}
|
||||
structopt-toml = {version = "0.5.1", optional = true}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2021"
|
||||
[dependencies]
|
||||
darkfi = {path = "../../", features = ["net"]}
|
||||
darkfi-serial = {version = "0.4.2"}
|
||||
url = {version = "2.5.2", features = ["serde"]}
|
||||
url = {version = "2.5.4", features = ["serde"]}
|
||||
smol = "2.0.2"
|
||||
|
||||
[workspace]
|
||||
|
||||
@@ -17,9 +17,9 @@ darkfi-serial = "0.4.2"
|
||||
drk = {path = "../../../bin/drk"}
|
||||
|
||||
# JSON-RPC
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -29,7 +29,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
@@ -37,7 +37,7 @@ structopt-toml = "0.5.1"
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
lazy_static = "1.5.0"
|
||||
tar = "0.4.43"
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@ darkfi = {path = "../../../", features = ["async-daemonize", "validator", "rpc"]
|
||||
darkfi-serial = "0.4.2"
|
||||
|
||||
# Misc
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
|
||||
# JSON-RPC
|
||||
async-trait = "0.1.83"
|
||||
async-trait = "0.1.85"
|
||||
tinyjson = "2.5.1"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
@@ -30,7 +30,7 @@ simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -13,19 +13,19 @@ features = ["dht"]
|
||||
async-channel = "2.3.1"
|
||||
async-executor = "1.13.1"
|
||||
async-std = "1.13.0"
|
||||
async-trait = "0.1.83"
|
||||
blake3 = "1.5.4"
|
||||
async-trait = "0.1.85"
|
||||
blake3 = "1.5.5"
|
||||
ctrlc = { version = "3.4.5", features = ["termination"] }
|
||||
easy-parallel = "3.3.1"
|
||||
futures-lite = "2.3.0"
|
||||
log = "0.4.22"
|
||||
serde_json = "1.0.128"
|
||||
futures-lite = "2.6.0"
|
||||
log = "0.4.25"
|
||||
serde_json = "1.0.137"
|
||||
simplelog = "0.12.2"
|
||||
url = "2.5.2"
|
||||
url = "2.5.4"
|
||||
|
||||
# Argument parsing
|
||||
serde = "1.0.210"
|
||||
serde_derive = "1.0.210"
|
||||
serde = "1.0.217"
|
||||
serde_derive = "1.0.217"
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@ rand = "0.8.5"
|
||||
|
||||
# Daemon
|
||||
easy-parallel = "3.3.1"
|
||||
log = "0.4.22"
|
||||
log = "0.4.25"
|
||||
signal-hook-async-std = "0.2.2"
|
||||
signal-hook = "0.3.17"
|
||||
simplelog = "0.12.2"
|
||||
smol = "2.0.2"
|
||||
|
||||
# Argument parsing
|
||||
serde = {version = "1.0.210", features = ["derive"]}
|
||||
serde = {version = "1.0.217", features = ["derive"]}
|
||||
structopt = "0.3.26"
|
||||
structopt-toml = "0.5.1"
|
||||
|
||||
@@ -10,13 +10,12 @@ edition = "2021"
|
||||
[workspace]
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.89"
|
||||
anyhow = "1.0.95"
|
||||
darkfi = {path = "../../../", features = ["blockchain"]}
|
||||
darkfi-sdk = {path = "../../../src/sdk"}
|
||||
|
||||
[patch.crates-io]
|
||||
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v3"}
|
||||
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ darkfi-sdk = {path = "../../../../src/sdk"}
|
||||
darkfi = {path = "../../../../", features = ["zk"]}
|
||||
lazy_static = "1.5.0"
|
||||
rand = "0.8.5"
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
|
||||
[patch.crates-io]
|
||||
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2021"
|
||||
darkfi = {path = "../../../", features = ["util"]}
|
||||
darkfi-serial = {path = "../../../src/serial"}
|
||||
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
num-bigint = "0.4.6"
|
||||
rand = "0.8.5"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ edition = "2021"
|
||||
darkfi = {path = "../../../../", features = ["zk"]}
|
||||
darkfi-sdk = {path = "../../../../src/sdk"}
|
||||
halo2_proofs = "0.3.0"
|
||||
halo2_gadgets = "0.3.0"
|
||||
halo2_gadgets = "0.3.1"
|
||||
rand = "0.8.5"
|
||||
hex = "0.4.3"
|
||||
|
||||
@@ -20,4 +20,3 @@ halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v3"}
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@ bs58 = "0.5.1"
|
||||
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
|
||||
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
|
||||
darkfi_money_contract = { path = "../money", features = ["no-entrypoint"] }
|
||||
thiserror = "1.0.64"
|
||||
thiserror = "2.0.11"
|
||||
|
||||
# The following dependencies are used for the client API and
|
||||
# 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.0", optional = true }
|
||||
log = { version = "0.4.22", optional = true }
|
||||
log = { version = "0.4.25", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
|
||||
# These are used just for the integration tests
|
||||
|
||||
@@ -11,13 +11,13 @@ crate-type = ["cdylib", "rlib"]
|
||||
[dependencies]
|
||||
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
|
||||
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
|
||||
thiserror = "1.0.64"
|
||||
wasmparser = "0.219.1"
|
||||
thiserror = "2.0.11"
|
||||
wasmparser = "0.223.0"
|
||||
|
||||
# The following dependencies are used for the client API and
|
||||
# probably shouldn't be in WASM
|
||||
darkfi = { path = "../../../", features = ["zk"], optional = true }
|
||||
log = { version = "0.4.22", optional = true }
|
||||
log = { version = "0.4.25", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
|
||||
# These are used for integration tests
|
||||
|
||||
@@ -9,18 +9,18 @@ edition = "2021"
|
||||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[dependencies]
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
bs58 = "0.5.1"
|
||||
darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
|
||||
darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
|
||||
thiserror = "1.0.64"
|
||||
thiserror = "2.0.11"
|
||||
|
||||
# The following dependencies are used for the client API and
|
||||
# probably shouldn't be in WASM
|
||||
darkfi = { path = "../../../", features = ["zk"], optional = true }
|
||||
chacha20poly1305 = { version = "0.10.1", optional = true }
|
||||
halo2_proofs = { version = "0.3.0", optional = true }
|
||||
log = { version = "0.4.22", optional = true }
|
||||
log = { version = "0.4.25", optional = true }
|
||||
rand = { version = "0.8.5", optional = true }
|
||||
|
||||
# Misc
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
//! Contract Client API
|
||||
//!
|
||||
//! This module implements the client-side API for this contract's interaction.
|
||||
//! What we basically do here is implement an API that creates the necessary
|
||||
//! structures and is able to export them to create a DarkFi transaction
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
//! DarkFi Money Contract
|
||||
//!
|
||||
//! Smart contract implementing money transfers, atomic swaps, token
|
||||
//! minting and freezing, and staking/unstaking of consensus tokens.
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@ darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint
|
||||
darkfi_deployooor_contract = {path = "../deployooor", features = ["client", "no-entrypoint"]}
|
||||
|
||||
num-bigint = "0.4.6"
|
||||
blake3 = "1.5.4"
|
||||
log = "0.4.22"
|
||||
blake3 = "1.5.5"
|
||||
log = "0.4.25"
|
||||
rand = "0.8.5"
|
||||
simplelog = "0.12.2"
|
||||
sled-overlay = "0.1.6"
|
||||
|
||||
@@ -18,7 +18,7 @@ wasm = []
|
||||
|
||||
[dependencies]
|
||||
# Error handling
|
||||
thiserror = "1.0.64"
|
||||
thiserror = "2.0.11"
|
||||
|
||||
# Serialization
|
||||
darkfi-serial = {version = "0.4.2", features = ["crypto"]}
|
||||
@@ -29,9 +29,9 @@ sha2 = "0.10.8"
|
||||
|
||||
# Cryptography
|
||||
blake2b_simd = "1.0.2"
|
||||
blake3 = "1.5.4"
|
||||
blake3 = "1.5.5"
|
||||
chacha20poly1305 = "0.10.1"
|
||||
halo2_gadgets = "0.3.0"
|
||||
halo2_gadgets = "0.3.1"
|
||||
bridgetree = "0.6.0"
|
||||
num-bigint = "0.4.6"
|
||||
num-traits = "0.2.19"
|
||||
@@ -44,7 +44,7 @@ subtle = "2.6.1"
|
||||
|
||||
[dev-dependencies]
|
||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
||||
halo2_gadgets = {version = "0.3.0", features = ["test-dependencies"]}
|
||||
halo2_gadgets = {version = "0.3.1", features = ["test-dependencies"]}
|
||||
rand = "0.8.5"
|
||||
|
||||
[lints]
|
||||
|
||||
@@ -17,11 +17,10 @@ doc = false
|
||||
darkfi = {path = "../../../", features = ["zk", "zkas"]}
|
||||
darkfi-sdk = {path = "../"}
|
||||
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
|
||||
halo2_gadgets = "0.3.0"
|
||||
halo2_gadgets = "0.3.1"
|
||||
plotters = "0.3.7"
|
||||
pyo3 = {version = "0.22.6", features = ["gil-refs"]}
|
||||
rand = "0.8.5"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
//! Less-Than Gadget
|
||||
//!
|
||||
//! Given two values:
|
||||
//! - `a`, a NUM_OF_BITS-length value and
|
||||
//! - `b`, an arbitrary field element,
|
||||
|
||||
Reference in New Issue
Block a user