From 67604acf47b190bd17865c526f1d94dcbac4c503 Mon Sep 17 00:00:00 2001 From: skoupidi Date: Thu, 29 Aug 2024 18:46:45 +0300 Subject: [PATCH] chore: removed duplicate features imports --- Cargo.lock | 4 ---- Cargo.toml | 3 --- bin/darkirc/Cargo.toml | 2 +- bin/lilith/Cargo.toml | 2 +- example/dchat/dchatd/Cargo.toml | 2 +- src/contract/dao/Cargo.toml | 4 ---- src/contract/money/Cargo.toml | 5 +---- 7 files changed, 4 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 372f0aa4c..8b1de215b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", ] diff --git a/Cargo.toml b/Cargo.toml index e72ba9820..8771b7d46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 = [] diff --git a/bin/darkirc/Cargo.toml b/bin/darkirc/Cargo.toml index a0c526eeb..512e997d7 100644 --- a/bin/darkirc/Cargo.toml +++ b/bin/darkirc/Cargo.toml @@ -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" diff --git a/bin/lilith/Cargo.toml b/bin/lilith/Cargo.toml index bffc625d4..60ad66a4a 100644 --- a/bin/lilith/Cargo.toml +++ b/bin/lilith/Cargo.toml @@ -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" diff --git a/example/dchat/dchatd/Cargo.toml b/example/dchat/dchatd/Cargo.toml index edc3abd36..7fca89630 100644 --- a/example/dchat/dchatd/Cargo.toml +++ b/example/dchat/dchatd/Cargo.toml @@ -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 diff --git a/src/contract/dao/Cargo.toml b/src/contract/dao/Cargo.toml index 1cc127f0b..dea6b9c0d 100644 --- a/src/contract/dao/Cargo.toml +++ b/src/contract/dao/Cargo.toml @@ -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 diff --git a/src/contract/money/Cargo.toml b/src/contract/money/Cargo.toml index 002cf33cc..4bcc7a8d5 100644 --- a/src/contract/money/Cargo.toml +++ b/src/contract/money/Cargo.toml @@ -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