chore: removed duplicate features imports

This commit is contained in:
skoupidi
2024-08-29 18:46:45 +03:00
parent 053942f101
commit 67604acf47
7 changed files with 4 additions and 18 deletions

4
Cargo.lock generated
View File

@@ -2136,8 +2136,6 @@ dependencies = [
"halo2_proofs",
"log",
"rand 0.8.5",
"simplelog",
"sled",
"smol",
"thiserror",
]
@@ -2174,8 +2172,6 @@ dependencies = [
"lazy_static",
"log",
"rand 0.8.5",
"simplelog",
"sled",
"smol",
"thiserror",
]

View File

@@ -161,7 +161,6 @@ validator = [
"lazy_static",
"randomx",
"rpc",
"wasm-runtime",
]
@@ -181,8 +180,6 @@ event-graph = [
"darkfi-serial",
"darkfi-serial/collections",
"darkfi-serial/hash",
"rpc",
]
p2p-unix = []

View File

@@ -18,7 +18,7 @@ name = "darkirc"
path = "src/main.rs"
[dependencies]
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "rpc", "zk"]}
darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
darkfi-serial = {path = "../../src/serial", features = ["async"]}
libc = "0.2.155"

View File

@@ -9,7 +9,7 @@ homepage = "https://dark.fi"
repository = "https://codeberg.org/darkrenaissance/darkfi"
[dependencies]
darkfi = {path = "../../", features = ["toml", "async-daemonize", "net", "rpc"]}
darkfi = {path = "../../", features = ["toml", "async-daemonize", "rpc"]}
# Misc
async-trait = "0.1.81"

View File

@@ -11,7 +11,7 @@ edition = "2021"
# ANCHOR: dependencies
[dependencies]
# ANCHOR: darkfi
darkfi = {path = "../../../", features = ["net", "toml", "system", "async-daemonize", "rpc"]}
darkfi = {path = "../../../", features = ["toml", "async-daemonize", "rpc"]}
darkfi-serial = {path = "../../../src/serial"}
# ANCHOR_END: darkfi

View File

@@ -27,10 +27,6 @@ rand = { version = "0.8.5", optional = true }
# These are used just for the integration tests
[dev-dependencies]
smol = "2.0.0"
darkfi = {path = "../../../", features = ["tx", "blockchain"]}
darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint"]}
simplelog = "0.12.2"
sled = "0.34.7"
darkfi-contract-test-harness = {path = "../test-harness"}
# We need to disable random using "custom" which makes the crate a noop

View File

@@ -17,7 +17,7 @@ thiserror = "1.0.61"
# The following dependencies are used for the client API and
# probably shouldn't be in WASM
darkfi = { path = "../../../", features = ["zk", "rpc", "blockchain", "validator"], optional = true }
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 }
@@ -29,9 +29,6 @@ lazy_static = "1.5.0"
# These are used just for the integration tests
[dev-dependencies]
smol = "2.0.0"
darkfi = {path = "../../../", features = ["tx", "blockchain"]}
simplelog = "0.12.2"
sled = "0.34.7"
darkfi-contract-test-harness = {path = "../test-harness"}
# We need to disable random using "custom" which makes the crate a noop