Explorar el Código

chore: removed duplicate features imports

skoupidi hace 1 año
padre
commit
67604acf47

+ 0 - 4
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",
 ]

+ 0 - 3
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 = []

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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
 

+ 0 - 4
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

+ 1 - 4
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