Skip to content

Commit

Permalink
chore: Update crate dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
parazyd committed Oct 27, 2023
1 parent 3b04670 commit b61127a
Show file tree
Hide file tree
Showing 37 changed files with 995 additions and 936 deletions.
1,643 changes: 851 additions & 792 deletions Cargo.lock

Large diffs are not rendered by default.

46 changes: 23 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,46 +53,46 @@ members = [

[dependencies]
# Hard dependencies
libc = "0.2.147"
libc = "0.2.149"
log = "0.4.20"
thiserror = "1.0.47"
thiserror = "1.0.50"

# async-runtime
async-recursion = {version = "1.0.5", optional = true}
async-trait = {version = "0.1.73", optional = true}
futures = {version = "0.3.28", optional = true}
async-trait = {version = "0.1.74", optional = true}
futures = {version = "0.3.29", optional = true}
smol = {version = "1.3.0", optional = true}
pin-project-lite = {version = "0.2.13", optional = true}

# Networking
async-rustls = {version = "0.4.0", features = ["dangerous_configuration"], optional = true}
async-rustls = {version = "0.4.1", features = ["dangerous_configuration"], optional = true}

# Pluggable Transports
socket2 = {version = "0.5.3", features = ["all"], optional = true}
arti-client = {version = "0.10.0", default-features = false, features = ["async-std", "rustls", "onion-service-client"], optional = true}
tor-hscrypto = {version = "0.3.1", optional = true}
socket2 = {version = "0.5.5", features = ["all"], optional = true}
arti-client = {version = "0.10.2", default-features = false, features = ["async-std", "rustls", "onion-service-client"], optional = true}
tor-hscrypto = {version = "0.3.3", optional = true}

# TLS cert utilities
ed25519-compact = {version = "2.0.4", optional = true}
rcgen = {version = "0.11.1", optional = true}
rustls-pemfile = {version = "1.0.3", optional = true}
rcgen = {version = "0.11.3", optional = true}
rustls-pemfile = {version = "2.0.0-alpha.1", optional = true}
x509-parser = {version = "0.15.1", features = ["validate", "verify"], optional = true}

# Encoding
bs58 = {version = "0.5.0", optional = true}
serde = {version = "1.0.188", features = ["derive"], optional = true}
serde = {version = "1.0.190", features = ["derive"], optional = true}
tinyjson = {version = "2.5.1", optional = true}
semver = {version = "1.0.18", optional = true}
semver = {version = "1.0.20", optional = true}
structopt = {version= "0.3.26", optional = true}
structopt-toml = {version= "0.5.1", optional = true}
toml = {version = "0.7.6", optional = true}
toml = {version = "0.8.5", optional = true}
# Big float high precision arithmetics
dashu = {version = "0.3.1", optional = true}
dashu = {version = "0.4.0", optional = true}
num-bigint = {version = "0.4.4", optional = true}

# Utilities
# TODO: check chrono usage and impl our own
chrono = {version = "0.4.26", optional = true}
chrono = {version = "0.4.31", 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}
Expand All @@ -103,16 +103,16 @@ simplelog = {version = "0.12.1", optional = true}

# Crypto
rand = {version = "0.8.5", optional = true}
blake3 = {version = "1.4.1", features = ["rayon"], optional = true}
blake3 = {version = "1.5.0", 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.1.2", optional = true}
wasmer-compiler-singlepass = {version = "4.1.2", optional = true}
wasmer-middlewares = {version = "4.1.2", optional = true}
wasmer = {version = "4.2.2", optional = true}
wasmer-compiler-singlepass = {version = "4.2.2", optional = true}
wasmer-middlewares = {version = "4.2.2", optional = true}

# Wallet management
rusqlite = {version = "0.29.0", features = ["sqlcipher"], optional = true}
Expand All @@ -129,11 +129,11 @@ randomx = {git = "https://github.com/darkrenaissance/RandomX", optional = true}
libsqlite3-sys = {version = "*", features = ["bundled-sqlcipher"], optional = true}

[dev-dependencies]
clap = {version = "4.4.1", features = ["derive"]}
clap = {version = "4.4.7", features = ["derive"]}
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "sanity-checks"]}
halo2_gadgets = "0.3.0"
plotters = "0.3.5"
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
prettytable-rs = "0.10.0"

# -----BEGIN LIBRARY FEATURES-----
Expand Down Expand Up @@ -322,6 +322,6 @@ zkas = [
[patch.crates-io]
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v4"}
arti-client = {git="https://gitlab.torproject.org/tpo/core/arti", rev="3fdadcc7509f60cfdfc51df2664aaf2f73bbd2f0"}
tor-hscrypto = {git="https://gitlab.torproject.org/tpo/core/arti", rev="3fdadcc7509f60cfdfc51df2664aaf2f73bbd2f0"}
arti-client = {git="https://gitlab.torproject.org/tpo/core/arti", rev="998b83af90571370d00951b31728788518210ac1"}
tor-hscrypto = {git="https://gitlab.torproject.org/tpo/core/arti", rev="998b83af90571370d00951b31728788518210ac1"}
blake2b_simd = {git="https://github.com/parazyd/blake2_simd", branch="impl-common"}
6 changes: 3 additions & 3 deletions bin/darkfi-mmproxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ log = "0.4.20"

# Encoding
url = "2.4.1"
uuid = {version = "1.4.1", features = ["v4"]}
uuid = {version = "1.5.0", features = ["v4"]}

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
8 changes: 4 additions & 4 deletions bin/darkfid/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ license = "AGPL-3.0-only"
edition = "2021"

[dependencies]
async-trait = "0.1.73"
blake3 = "1.4.1"
async-trait = "0.1.74"
blake3 = "1.5.0"
bs58 = "0.5.0"
darkfi = {path = "../../", features = ["async-daemonize", "validator"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
Expand All @@ -21,13 +21,13 @@ tinyjson = "2.5.1"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
8 changes: 4 additions & 4 deletions bin/darkfid2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ darkfi-sdk = {path = "../../src/sdk"}
darkfi-serial = {path = "../../src/serial"}

# Misc
blake3 = "1.4.1"
blake3 = "1.5.0"
bs58 = "0.5.0"
log = "0.4.20"
sled = "0.34.7"
rand = "0.8.5"

# JSON-RPC
async-trait = "0.1.73"
async-trait = "0.1.74"
tinyjson = "2.5.1"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
18 changes: 9 additions & 9 deletions bin/darkirc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ repository = "https://github.com/darkrenaissance/darkfi"
[dependencies]
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "rpc"]}
darkfi-serial = {path = "../../src/serial", features = ["async"]}
libc = "0.2.148"
libc = "0.2.149"

# Event Graph DB
sled = "0.34.7"

# TLS
async-rustls = "0.4.0"
async-trait = "0.1.73"
futures = "0.3.28"
rustls-pemfile = "1.0.3"
async-rustls = "0.4.1"
async-trait = "0.1.74"
futures = "0.3.29"
rustls-pemfile = "2.0.0-alpha.1"

# Crypto
blake3 = "1.4.1"
blake3 = "1.5.0"
crypto_box = {version = "0.9.1", features = ["std", "chacha20"]}
rand = "0.8.5"

Expand All @@ -33,16 +33,16 @@ url = "2.4.1"

# Encoding and parsing
bs58 = "0.5.0"
toml = "0.7.6"
toml = "0.8.5"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
6 changes: 3 additions & 3 deletions bin/dhtd/dhtd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ license = "AGPL-3.0-only"
edition = "2021"

[dependencies]
async-trait = "0.1.73"
blake3 = "1.4.1"
async-trait = "0.1.74"
blake3 = "1.5.0"
darkfi = {path = "../../../", features = ["dht"]}
darkfi-serial = {path = "../../../src/serial", features = ["derive", "crypto"]}
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
log = "0.4.20"
rand = "0.8.5"
simplelog = "0.12.1"
Expand Down
10 changes: 5 additions & 5 deletions bin/drk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@ edition = "2021"
[dependencies]
anyhow = "1.0.75"
async-std = {version = "1.12.0", features = ["attributes"]}
blake3 = "1.4.1"
blake3 = "1.5.0"
bs58 = "0.5.0"
clap = {version = "4.4.1", features = ["derive"]}
clap_complete = "4.4.0"
clap = {version = "4.4.7", features = ["derive"]}
clap_complete = "4.4.4"
darkfi = {path = "../../", features = ["blockchain", "rpc", "util", "wallet"]}
darkfi-sdk = {path = "../../src/sdk"}
darkfi-serial = {path = "../../src/serial", features = ["derive", "crypto"]}
darkfi-money-contract = {path = "../../src/contract/money", features = ["no-entrypoint", "client"]}
darkfi-dao-contract = {path = "../../src/contract/dao", features = ["no-entrypoint", "client"]}
prettytable-rs = "0.10.0"
rand = "0.8.5"
serde_json = "1.0.105"
serde_json = "1.0.107"
smol = "1.3.0"
simplelog = "0.12.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
url = "2.4.1"
rodio = {version = "0.17.1", default-features = false, features = ["minimp3"]}
rodio = {version = "0.17.3", default-features = false, features = ["minimp3"]}
10 changes: 5 additions & 5 deletions bin/faucetd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ license = "AGPL-3.0-only"
edition = "2021"

[dependencies]
async-trait = "0.1.73"
blake3 = "1.4.1"
chrono = "0.4.26"
async-trait = "0.1.74"
blake3 = "1.5.0"
chrono = "0.4.31"
darkfi = {path = "../../", features = ["async-daemonize", "validator"]}
darkfi-serial = {path = "../../src/serial"}
darkfi-sdk = {path = "../../src/sdk"}
Expand All @@ -24,13 +24,13 @@ tinyjson = "2.5.1"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
4 changes: 2 additions & 2 deletions bin/fud/fu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ darkfi = {path = "../../../", features = ["util", "rpc"]}
async-std = {version = "1.12.0", features = ["attributes"]}

# Misc
clap = {version = "4.4.1", features = ["derive"]}
clap = {version = "4.4.7", features = ["derive"]}
log = "0.4.20"
serde_json = "1.0.105"
serde_json = "1.0.107"
simplelog = "0.12.1"
url = "2.4.1"
8 changes: 4 additions & 4 deletions bin/fud/fud/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc"]}
darkfi-serial = {path = "../../../src/serial", features = ["hash"]}

# Misc
async-trait = "0.1.73"
blake3 = "1.4.1"
async-trait = "0.1.74"
blake3 = "1.5.0"
log = "0.4.20"
tinyjson = "2.5.1"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
2 changes: 1 addition & 1 deletion bin/genev/genev-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ darkfi = {path = "../../../", features = ["event-graph", "rpc", "bs58"]}
darkfi-serial = {path = "../../../src/serial"}

smol = "1.3.0"
clap = {version = "4.4.1", features = ["derive"]}
clap = {version = "4.4.7", features = ["derive"]}
log = "0.4.20"
simplelog = "0.12.1"
tinyjson = "2.5.1"
Expand Down
6 changes: 3 additions & 3 deletions bin/genev/genevd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ darkfi = {path = "../../../", features = ["async-daemonize", "event-graph", "rpc
darkfi-serial = {path = "../../../src/serial"}

# Misc
async-trait = "0.1.73"
async-trait = "0.1.74"
log = "0.4.20"
tinyjson = "2.5.1"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
12 changes: 6 additions & 6 deletions bin/lilith/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ repository = "https://github.com/darkrenaissance/darkfi"
darkfi = {path = "../../", features = ["toml", "async-daemonize", "net", "rpc"]}

# Misc
async-trait = "0.1.73"
futures = "0.3.28"
async-trait = "0.1.74"
futures = "0.3.29"
log = "0.4.20"
semver = "1.0.18"
semver = "1.0.20"
tinyjson = "2.5.1"
toml = "0.7.6"
toml = "0.8.5"
url = "2.4.1"

# Daemon
easy-parallel = "3.3.0"
easy-parallel = "3.3.1"
signal-hook-async-std = "0.2.2"
signal-hook = "0.3.17"
simplelog = "0.12.1"
smol = "1.3.0"

# Argument parsing
serde = {version = "1.0.188", features = ["derive"]}
serde = {version = "1.0.190", features = ["derive"]}
structopt = "0.3.26"
structopt-toml = "0.5.1"
Loading

0 comments on commit b61127a

Please sign in to comment.