|
|
@@ -20,7 +20,6 @@ doctest = false
|
|
|
[workspace]
|
|
|
members = [
|
|
|
"bin/zkas",
|
|
|
- #"bin/cashierd",
|
|
|
"bin/darkfid",
|
|
|
"bin/darkfid2",
|
|
|
"bin/drk",
|
|
|
@@ -58,13 +57,13 @@ members = [
|
|
|
|
|
|
[dependencies]
|
|
|
# Hard dependencies
|
|
|
-libc = "0.2.144"
|
|
|
+libc = "0.2.147"
|
|
|
log = "0.4.19"
|
|
|
-thiserror = "1.0.40"
|
|
|
+thiserror = "1.0.43"
|
|
|
|
|
|
# async-runtime
|
|
|
async-std = {version = "1.12.0", features = ["attributes"], optional = true}
|
|
|
-async-trait = {version = "0.1.68", optional = true}
|
|
|
+async-trait = {version = "0.1.71", optional = true}
|
|
|
futures = {version = "0.3.28", optional = true}
|
|
|
smol = {version = "1.3.0", optional = true}
|
|
|
|
|
|
@@ -78,18 +77,18 @@ tor-hscrypto = {version = "0.3.0", optional = true}
|
|
|
|
|
|
# TLS cert utilities
|
|
|
ed25519-compact = {version = "2.0.4", optional = true}
|
|
|
-rcgen = {version = "0.10.0", optional = true}
|
|
|
-rustls-pemfile = {version = "1.0.2", optional = true}
|
|
|
+rcgen = {version = "0.11.1", optional = true}
|
|
|
+rustls-pemfile = {version = "1.0.3", optional = true}
|
|
|
x509-parser = {version = "0.15.0", features = ["validate", "verify"], optional = true}
|
|
|
|
|
|
# Encoding
|
|
|
bs58 = {version = "0.5.0", optional = true}
|
|
|
-serde_json = {version = "1.0.96", optional = true}
|
|
|
-serde = {version = "1.0.164", features = ["derive"], optional = true}
|
|
|
+serde_json = {version = "1.0.100", optional = true}
|
|
|
+serde = {version = "1.0.167", features = ["derive"], optional = true}
|
|
|
semver = {version = "1.0.17", optional = true}
|
|
|
structopt = {version= "0.3.26", optional = true}
|
|
|
structopt-toml = {version= "0.5.1", optional = true}
|
|
|
-toml = {version = "0.7.4", optional = true}
|
|
|
+toml = {version = "0.7.6", optional = true}
|
|
|
# Big float high precision arithmetics
|
|
|
dashu = { version = "0.3.1", optional=true }
|
|
|
|
|
|
@@ -99,7 +98,7 @@ chrono = {version = "0.4.26", optional = true}
|
|
|
darkfi-serial = {path = "src/serial", optional = true}
|
|
|
darkfi-derive = {path = "src/serial/derive", optional = true}
|
|
|
darkfi-derive-internal = {path = "src/serial/derive-internal", optional = true}
|
|
|
-itertools = {version = "0.10.5", optional = true}
|
|
|
+itertools = {version = "0.11.0", optional = true}
|
|
|
lazy_static = {version = "1.4.0", optional = true}
|
|
|
# TODO: Test without serde
|
|
|
url = {version = "2.4.0", features = ["serde"], optional = true}
|
|
|
@@ -110,7 +109,7 @@ simplelog = {version = "0.12.1", optional = true}
|
|
|
|
|
|
# Crypto
|
|
|
rand = {version = "0.8.5", optional = true}
|
|
|
-blake3 = {version = "1.4.0", features = ["rayon"], optional = true}
|
|
|
+blake3 = {version = "1.4.1", features = ["rayon"], optional = true}
|
|
|
crypto_api_chachapoly = {version = "0.5.0", optional = true}
|
|
|
halo2_proofs = {version = "0.3.0", optional = true}
|
|
|
halo2_gadgets = {version = "0.3.0", optional = true}
|
|
|
@@ -133,10 +132,10 @@ sled-overlay = {version = "0.0.7", optional = true}
|
|
|
curve25519-dalek = {version = "=4.0.0-rc.2", default-features = false, optional = true}
|
|
|
|
|
|
[dev-dependencies]
|
|
|
-clap = {version = "4.3.3", features = ["derive"]}
|
|
|
+clap = {version = "4.3.11", features = ["derive"]}
|
|
|
halo2_proofs = {version = "0.3.0", features = ["dev-graph", "gadget-traces", "sanity-checks"]}
|
|
|
halo2_gadgets = {version = "0.3.0", features = ["test-dev-graph", "test-dependencies"]}
|
|
|
-plotters = "0.3.4"
|
|
|
+plotters = "0.3.5"
|
|
|
easy-parallel = "3.3.0"
|
|
|
prettytable-rs = "0.10.0"
|
|
|
|
|
|
@@ -156,7 +155,6 @@ async-runtime = [
|
|
|
blockchain = [
|
|
|
"blake3",
|
|
|
"bs58", # <-- TODO: remove after we get rid of json for notifications
|
|
|
- "chrono",
|
|
|
"crypto_api_chachapoly",
|
|
|
"dashu",
|
|
|
"halo2_proofs",
|
|
|
@@ -191,7 +189,6 @@ dht = [
|
|
|
|
|
|
event-graph = [
|
|
|
"blake3",
|
|
|
- "chrono",
|
|
|
"rand",
|
|
|
|
|
|
"async-runtime",
|
|
|
@@ -226,17 +223,6 @@ net = [
|
|
|
"p2p-transport-nym",
|
|
|
]
|
|
|
|
|
|
-raft = [
|
|
|
- "chrono",
|
|
|
- "rand",
|
|
|
- "sled",
|
|
|
-
|
|
|
- "async-runtime",
|
|
|
- "darkfi-serial",
|
|
|
- "net",
|
|
|
- "util",
|
|
|
-]
|
|
|
-
|
|
|
rpc = [
|
|
|
"rand",
|
|
|
"serde",
|
|
|
@@ -256,7 +242,6 @@ system = [
|
|
|
|
|
|
tx = [
|
|
|
"blake3",
|
|
|
- "rand",
|
|
|
|
|
|
"async-runtime",
|
|
|
"darkfi-sdk",
|
|
|
@@ -265,19 +250,16 @@ tx = [
|
|
|
]
|
|
|
|
|
|
util = [
|
|
|
- "chrono",
|
|
|
"simplelog",
|
|
|
"serde",
|
|
|
"serde_json",
|
|
|
"toml",
|
|
|
- "url",
|
|
|
|
|
|
"darkfi-serial",
|
|
|
]
|
|
|
|
|
|
wallet = [
|
|
|
"async-std",
|
|
|
- "rand",
|
|
|
"rusqlite",
|
|
|
|
|
|
"darkfi-serial",
|
|
|
@@ -327,3 +309,5 @@ required-features = ["zk"]
|
|
|
[patch.crates-io]
|
|
|
halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v3"}
|
|
|
halo2_gadgets = {git="https://github.com/parazyd/halo2", branch="v3"}
|
|
|
+arti-client = {git="https://gitlab.torproject.org/tpo/core/arti", rev="77b0dc2edc93c9ad09b833b176e0f7066f017dd1"}
|
|
|
+tor-hscrypto = {git="https://gitlab.torproject.org/tpo/core/arti", rev="77b0dc2edc93c9ad09b833b176e0f7066f017dd1"}
|