Jelajahi Sumber

Update Cargo.lock

parazyd 3 tahun lalu
induk
melakukan
9b969aaef3
2 mengubah file dengan 16 tambahan dan 33 penghapusan
  1. 3 23
      Cargo.lock
  2. 13 10
      Cargo.toml

+ 3 - 23
Cargo.lock

@@ -388,7 +388,7 @@ dependencies = [
  "polling",
  "rustix 0.37.23",
  "slab",
- "socket2 0.4.9",
+ "socket2",
  "waker-fn",
 ]
 
@@ -1408,7 +1408,6 @@ version = "0.4.1"
 dependencies = [
  "arti-client",
  "async-rustls",
- "async-std",
  "async-trait",
  "blake3",
  "bs58",
@@ -1442,7 +1441,6 @@ dependencies = [
  "sled",
  "sled-overlay",
  "smol",
- "socket2 0.5.3",
  "structopt",
  "structopt-toml",
  "thiserror",
@@ -1617,7 +1615,6 @@ dependencies = [
 name = "darkfid"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "blake3",
  "bs58",
@@ -1642,7 +1639,6 @@ dependencies = [
 name = "darkfid2"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "blake3",
  "bs58",
@@ -1671,7 +1667,6 @@ name = "darkirc"
 version = "0.4.1"
 dependencies = [
  "async-rustls",
- "async-std",
  "async-trait",
  "bs58",
  "chrono",
@@ -2410,7 +2405,6 @@ checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764"
 name = "faucetd"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "blake3",
  "chrono",
@@ -2608,7 +2602,6 @@ dependencies = [
 name = "fud"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "blake3",
  "darkfi",
@@ -2761,7 +2754,6 @@ dependencies = [
 name = "genev"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "clap 4.3.23",
  "darkfi",
  "darkfi-serial",
@@ -2769,6 +2761,7 @@ dependencies = [
  "libsqlite3-sys",
  "log",
  "simplelog",
+ "smol",
  "tinyjson",
  "url",
 ]
@@ -2777,7 +2770,6 @@ dependencies = [
 name = "genevd"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "darkfi",
  "darkfi-serial",
@@ -3281,7 +3273,6 @@ dependencies = [
 name = "lilith"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "darkfi",
  "easy-parallel",
@@ -5174,16 +5165,6 @@ dependencies = [
  "winapi",
 ]
 
-[[package]]
-name = "socket2"
-version = "0.5.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877"
-dependencies = [
- "libc",
- "windows-sys 0.48.0",
-]
-
 [[package]]
 name = "spin"
 version = "0.5.2"
@@ -5410,7 +5391,6 @@ checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a"
 name = "tau"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "chrono",
  "clap 4.3.23",
  "colored",
@@ -5421,6 +5401,7 @@ dependencies = [
  "prettytable-rs",
  "serde",
  "simplelog",
+ "smol",
  "taud",
  "term_grid",
  "textwrap 0.16.0",
@@ -5432,7 +5413,6 @@ dependencies = [
 name = "taud"
 version = "0.4.1"
 dependencies = [
- "async-std",
  "async-trait",
  "bs58",
  "chrono",

+ 13 - 10
Cargo.toml

@@ -58,7 +58,6 @@ log = "0.4.20"
 thiserror = "1.0.47"
 
 # async-runtime
-async-std = {version = "1.12.0", features = ["attributes"], optional = true}
 async-trait = {version = "0.1.73", optional = true}
 futures = {version = "0.3.28", optional = true}
 smol = {version = "1.3.0", optional = true}
@@ -66,7 +65,6 @@ pin-project-lite = {version = "0.2.12", optional = true}
 
 # Networking
 async-rustls = {version = "0.4.0", features = ["dangerous_configuration"], optional = true}
-socket2 = {version = "0.5.3", optional = true, features = ["all"]}
 
 # Pluggable Transports
 arti-client = {version = "0.10.0", default-features = false, features = ["async-std", "rustls", "onion-service-client"], optional = true}
@@ -139,30 +137,31 @@ p2p-transport-tor = ["arti-client", "tor-hscrypto"]
 p2p-transport-nym = []
 
 async-runtime = [
-    "async-std",
     "async-trait",
     "futures",
     "smol",
 ]
 
 blockchain = [
+    "async-trait",
     "blake3",
     "crypto_api_chachapoly",
     "dashu",
-    "halo2_proofs",
+    #"halo2_proofs",
     "lazy_static",
-    "rand",
+    #"rand",
     "sled",
     "sled-overlay",
-    "url",
+    "smol",
+    #"url",
 
-    "async-runtime",
+    #"async-runtime",
     "darkfi-sdk",
     "darkfi-serial/crypto",
     "net",
     "rpc",
     "tx",
-    "util",
+    #"util",
     "wallet",
     "wasm-runtime",
 ]
@@ -229,8 +228,8 @@ system = [
 
 tx = [
     "blake3",
+    "rand",
     
-    "async-runtime",
     "darkfi-sdk",
     "darkfi-serial",
     "zk",
@@ -247,7 +246,6 @@ util = [
 ]
 
 wallet = [
-    "async-std",
     "rusqlite",
 
     "darkfi-serial",
@@ -261,6 +259,10 @@ wasm-runtime = [
 
     "blockchain",
     "darkfi-sdk",
+    "darkfi-serial",
+    "util",
+    "zk",
+    "zkas",
 ]
 
 zk = [
@@ -269,6 +271,7 @@ zk = [
     "rand",
 
     "darkfi-sdk",
+    "darkfi-serial",
     "zkas",
 ]