|
@@ -70,14 +70,11 @@ smol = {version = "1.3.0", optional = true}
|
|
|
|
|
|
|
|
# Networking
|
|
# Networking
|
|
|
async-rustls = {version = "0.4.0", features = ["dangerous_configuration"], optional = true}
|
|
async-rustls = {version = "0.4.0", features = ["dangerous_configuration"], optional = true}
|
|
|
-iprange = {version = "0.6.7", optional = true}
|
|
|
|
|
-ipnet = {version = "2.7.2", optional = true}
|
|
|
|
|
socket2 = {version = "0.5.3", optional = true, features = ["all"]}
|
|
socket2 = {version = "0.5.3", optional = true, features = ["all"]}
|
|
|
|
|
|
|
|
# Pluggable Transports
|
|
# Pluggable Transports
|
|
|
arti-client = {version = "0.9.2", default-features = false, features = ["async-std", "rustls", "onion-service-client"], optional = true}
|
|
arti-client = {version = "0.9.2", default-features = false, features = ["async-std", "rustls", "onion-service-client"], optional = true}
|
|
|
tor-hscrypto = {version = "0.3.0", optional = true}
|
|
tor-hscrypto = {version = "0.3.0", optional = true}
|
|
|
-# TODO: nym ( Read this to figure out impl https://github.com/ChainSafe/rust-libp2p-nym )
|
|
|
|
|
|
|
|
|
|
# TLS cert utilities
|
|
# TLS cert utilities
|
|
|
ed25519-compact = {version = "2.0.4", optional = true}
|
|
ed25519-compact = {version = "2.0.4", optional = true}
|
|
@@ -87,7 +84,6 @@ x509-parser = {version = "0.15.0", features = ["validate", "verify"], optional =
|
|
|
|
|
|
|
|
# Encoding
|
|
# Encoding
|
|
|
bs58 = {version = "0.5.0", optional = true}
|
|
bs58 = {version = "0.5.0", optional = true}
|
|
|
-hex = {version = "0.4.3", optional = true}
|
|
|
|
|
serde_json = {version = "1.0.96", optional = true}
|
|
serde_json = {version = "1.0.96", optional = true}
|
|
|
serde = {version = "1.0.164", features = ["derive"], optional = true}
|
|
serde = {version = "1.0.164", features = ["derive"], optional = true}
|
|
|
semver = {version = "1.0.17", optional = true}
|
|
semver = {version = "1.0.17", optional = true}
|
|
@@ -103,7 +99,6 @@ chrono = {version = "0.4.26", optional = true}
|
|
|
darkfi-serial = {path = "src/serial", optional = true}
|
|
darkfi-serial = {path = "src/serial", optional = true}
|
|
|
darkfi-derive = {path = "src/serial/derive", optional = true}
|
|
darkfi-derive = {path = "src/serial/derive", optional = true}
|
|
|
darkfi-derive-internal = {path = "src/serial/derive-internal", optional = true}
|
|
darkfi-derive-internal = {path = "src/serial/derive-internal", optional = true}
|
|
|
-indexmap = {version = "1.9.3", optional = true}
|
|
|
|
|
itertools = {version = "0.10.5", optional = true}
|
|
itertools = {version = "0.10.5", optional = true}
|
|
|
lazy_static = {version = "1.4.0", optional = true}
|
|
lazy_static = {version = "1.4.0", optional = true}
|
|
|
# TODO: Test without serde
|
|
# TODO: Test without serde
|
|
@@ -113,7 +108,6 @@ url = {version = "2.4.0", features = ["serde"], optional = true}
|
|
|
# TODO: Implement something simple and kill these deps
|
|
# TODO: Implement something simple and kill these deps
|
|
|
indicatif = {version = "0.17.5", optional = true}
|
|
indicatif = {version = "0.17.5", optional = true}
|
|
|
simplelog = {version = "0.12.1", optional = true}
|
|
simplelog = {version = "0.12.1", optional = true}
|
|
|
-ripemd = {version = "0.1.3", optional = true}
|
|
|
|
|
|
|
|
|
|
# Crypto
|
|
# Crypto
|
|
|
rand = {version = "0.8.5", optional = true}
|
|
rand = {version = "0.8.5", optional = true}
|
|
@@ -199,7 +193,6 @@ dht = [
|
|
|
event-graph = [
|
|
event-graph = [
|
|
|
"blake3",
|
|
"blake3",
|
|
|
"chrono",
|
|
"chrono",
|
|
|
- "hex",
|
|
|
|
|
"rand",
|
|
"rand",
|
|
|
|
|
|
|
|
"async-runtime",
|
|
"async-runtime",
|
|
@@ -210,9 +203,6 @@ event-graph = [
|
|
|
net = [
|
|
net = [
|
|
|
"ed25519-compact",
|
|
"ed25519-compact",
|
|
|
"async-rustls",
|
|
"async-rustls",
|
|
|
- "hex",
|
|
|
|
|
- "iprange",
|
|
|
|
|
- "ipnet",
|
|
|
|
|
"structopt",
|
|
"structopt",
|
|
|
"structopt-toml",
|
|
"structopt-toml",
|
|
|
"rand",
|
|
"rand",
|
|
@@ -249,7 +239,6 @@ raft = [
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
rpc = [
|
|
rpc = [
|
|
|
- "hex",
|
|
|
|
|
"rand",
|
|
"rand",
|
|
|
"serde",
|
|
"serde",
|
|
|
"serde_json",
|
|
"serde_json",
|
|
@@ -315,7 +304,6 @@ zk = [
|
|
|
]
|
|
]
|
|
|
|
|
|
|
|
zkas = [
|
|
zkas = [
|
|
|
- "indexmap",
|
|
|
|
|
"itertools",
|
|
"itertools",
|
|
|
|
|
|
|
|
"darkfi-serial",
|
|
"darkfi-serial",
|