Sfoglia il codice sorgente

chore: Update crate dependencies

parazyd 1 anno fa
parent
commit
c040d9c00f
41 ha cambiato i file con 398 aggiunte e 331 eliminazioni
  1. 230 164
      Cargo.lock
  2. 20 20
      Cargo.toml
  3. 6 6
      bin/app/Cargo.toml
  4. 2 2
      bin/darkfi-mmproxy/Cargo.toml
  5. 4 4
      bin/darkfid/Cargo.toml
  6. 6 6
      bin/darkirc/Cargo.toml
  7. 23 23
      bin/darkirc/src/main.rs
  8. 3 3
      bin/dhtd/dhtd/Cargo.toml
  9. 3 3
      bin/drk/Cargo.toml
  10. 4 4
      bin/explorer/explorerd/Cargo.toml
  11. 1 1
      bin/explorer/explorerd/src/service/contracts.rs
  12. 6 6
      bin/explorer/explorerd/src/service/sync.rs
  13. 1 1
      bin/explorer/explorerd/src/store/contract_metadata.rs
  14. 3 3
      bin/explorer/explorerd/src/store/metrics.rs
  15. 1 1
      bin/fud/fu/Cargo.toml
  16. 4 4
      bin/fud/fud/Cargo.toml
  17. 1 1
      bin/genev/genev-cli/Cargo.toml
  18. 4 4
      bin/genev/genevd/Cargo.toml
  19. 4 4
      bin/lilith/Cargo.toml
  20. 2 2
      bin/minerd/Cargo.toml
  21. 7 7
      bin/tau/taud/Cargo.toml
  22. 1 1
      bin/vanityaddr/Cargo.toml
  23. 3 3
      example/dchat/dchatd/Cargo.toml
  24. 4 4
      example/p2pdebug/Cargo.toml
  25. 1 1
      fuzz/honggfuzz/Cargo.toml
  26. 5 5
      script/evgrd/Cargo.toml
  27. 3 3
      script/research/blockchain-storage-metrics/Cargo.toml
  28. 1 1
      script/research/dam/dam-cli/Cargo.toml
  29. 4 4
      script/research/dam/damd/Cargo.toml
  30. 8 8
      script/research/dhtd/Cargo.toml
  31. 2 2
      script/research/generic-node/Cargo.toml
  32. 1 1
      script/research/pallas_constants/Cargo.toml
  33. 1 1
      script/research/rln/rlnv2/Cargo.toml
  34. 4 4
      script/research/rlnd/rlnd/Cargo.toml
  35. 1 1
      script/research/snowball/Cargo.toml
  36. 2 2
      src/contract/dao/Cargo.toml
  37. 3 3
      src/contract/deployooor/Cargo.toml
  38. 3 3
      src/contract/money/Cargo.toml
  39. 2 2
      src/contract/test-harness/Cargo.toml
  40. 12 11
      src/net/transport/tor.rs
  41. 2 2
      src/sdk/Cargo.toml

File diff suppressed because it is too large
+ 230 - 164
Cargo.lock


+ 20 - 20
Cargo.toml

@@ -53,13 +53,13 @@ members = [
 
 [dependencies]
 # Hard dependencies
-libc = "0.2.170"
-log = "0.4.26"
-thiserror = "2.0.11"
+libc = "0.2.172"
+log = "0.4.27"
+thiserror = "2.0.12"
 
 # async-runtime
 async-recursion = {version = "1.1.1", optional = true}
-async-trait = {version = "0.1.86", optional = true}
+async-trait = {version = "0.1.88", optional = true}
 futures = {version = "0.3.31", optional = true}
 smol = {version = "2.0.2", optional = true}
 pin-project-lite = {version = "0.2.16", optional = true}
@@ -68,14 +68,14 @@ pin-project-lite = {version = "0.2.16", optional = true}
 futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"], optional = true}
 
 # Pluggable Transports
-socket2 = {version = "0.5.8", features = ["all"], optional = true}
-arti-client = {version = "0.27.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
-tor-error = {version = "0.27.0", optional = true}
-tor-rtcompat = {version = "0.27.0", features = ["async-std", "rustls"], optional = true}
-tor-hscrypto = {version = "0.27.0", optional = true}
-tor-hsservice = {version = "0.27.0", optional = true}
-tor-proto = {version = "0.27.0", optional = true}
-tor-cell = {version = "0.27.0", optional = true}
+socket2 = {version = "0.5.9", features = ["all"], optional = true}
+arti-client = {version = "0.29.0", default-features = false, features = ["async-std", "compression", "error_detail", "rustls", "onion-service-client", "onion-service-service"], optional = true}
+tor-error = {version = "0.29.0", optional = true}
+tor-rtcompat = {version = "0.29.0", features = ["async-std", "rustls"], optional = true}
+tor-hscrypto = {version = "0.29.0", optional = true}
+tor-hsservice = {version = "0.29.0", optional = true}
+tor-proto = {version = "0.29.0", optional = true}
+tor-cell = {version = "0.29.0", optional = true}
 
 # TLS cert utilities
 ed25519-compact = {version = "2.1.1", optional = true}
@@ -85,10 +85,10 @@ x509-parser = {version = "0.17.0", features = ["validate", "verify"], optional =
 
 # Encoding
 bs58 = {version = "0.5.1", optional = true}
-serde = {version = "1.0.218", features = ["derive"], optional = true}
+serde = {version = "1.0.219", features = ["derive"], optional = true}
 tinyjson = {version = "2.5.1", optional = true}
-httparse = {version = "1.10.0", optional = true}
-semver = {version = "1.0.25", optional = true}
+httparse = {version = "1.10.1", optional = true}
+semver = {version = "1.0.26", optional = true}
 structopt = {version= "0.3.26", optional = true}
 structopt-toml = {version= "0.5.1", optional = true}
 toml = {version = "0.8.20", optional = true}
@@ -100,7 +100,7 @@ darkfi-serial = {version = "0.4.2", optional = true}
 darkfi-derive = {version = "0.4.2", optional = true}
 
 # TODO: check chrono usage and impl our own
-chrono = {version = "0.4.39", optional = true}
+chrono = {version = "0.4.40", optional = true}
 lazy_static = {version = "1.5.0", optional = true}
 num-bigint = {version = "0.4.6", optional = true}
 url = {version = "2.5.4", features = ["serde"], optional = true}
@@ -111,16 +111,16 @@ regex = {version = "1.11.1", optional = true}
 
 # Crypto
 rand = {version = "0.8.5", optional = true}
-blake3 = {version = "1.6.0", features = ["rayon"], optional = true}
+blake3 = {version = "1.8.1", features = ["rayon"], optional = true}
 crypto_api_chachapoly = {version = "0.5.0", optional = true}
 halo2_proofs = {version = "0.3.0", features = ["circuit-params"], optional = true}
 halo2_gadgets = {version = "0.3.1", features = ["circuit-params"], optional = true}
 
 # Smart contract runtime
 darkfi-sdk = {path = "src/sdk", optional = true}
-wasmer = {version = "6.0.0-alpha.1", features = ["singlepass"], optional = true}
-wasmer-compiler-singlepass = {version = "6.0.0-alpha.1", optional = true}
-wasmer-middlewares = {version = "6.0.0-alpha.1", optional = true}
+wasmer = {version = "6.0.0-beta.1", features = ["singlepass"], optional = true}
+wasmer-compiler-singlepass = {version = "6.0.0-beta.1", optional = true}
+wasmer-middlewares = {version = "6.0.0-beta.1", optional = true}
 
 # Blockchain store
 sled-overlay = {version = "0.1.6", optional = true}

+ 6 - 6
bin/app/Cargo.toml

@@ -18,7 +18,7 @@ harfbuzz-sys = { git = "https://github.com/narodnik/rust-harfbuzz2", features =
 freetype-rs = { version = "0.37.0", features = ["bundled"] }
 
 image = "0.25.5"
-log = { version = "0.4.26", features = ["release_max_level_info"] }
+log = { version = "0.4.27", features = ["release_max_level_info"] }
 glam = "0.29.2"
 #zmq = "0.10.0"
 #async_zmq = "0.4.0"
@@ -26,7 +26,7 @@ zeromq = { version = "0.4.1", default-features = false, features = ["async-std-r
 darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "net", "util", "system", "zk"]}
 #darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
 darkfi-serial = {version = "0.4.2", features = ["async"]}
-thiserror = "2.0.11"
+thiserror = "2.0.12"
 smol = "2.0.2"
 atomic_float = "1.1.0"
 async-channel = "2.3.1"
@@ -39,11 +39,11 @@ colored = "3.0.0"
 #rustpython-vm = "0.3.1"
 sled-overlay = "0.1.6"
 url = "2.5.4"
-semver = "1.0.25"
-chrono = "0.4.39"
+semver = "1.0.26"
+chrono = "0.4.40"
 async-gen = "0.2.3"
-async-trait = "0.1.86"
-blake3 = "1.6.0"
+async-trait = "0.1.88"
+blake3 = "1.8.1"
 simplelog = "0.12.2"
 # For log files
 file-rotate = "0.7.6"

+ 2 - 2
bin/darkfi-mmproxy/Cargo.toml

@@ -13,7 +13,7 @@ darkfi = {path = "../../", features = ["async-daemonize", "async-serial", "syste
 darkfi-serial = {version = "0.4.2", features = ["async"]}
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 
 # Monero
 monero = {version = "0.21.0", features = ["full"]}
@@ -34,7 +34,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 4 - 4
bin/darkfid/Cargo.toml

@@ -17,16 +17,16 @@ darkfi-sdk = {path = "../../src/sdk"}
 darkfi-serial = "0.4.2"
 
 # Misc
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 bs58 = "0.5.1"
-log = "0.4.26"
+log = "0.4.27"
 num-bigint = "0.4.6"
 rand = "0.8.5"
 sled-overlay = "0.1.6"
 toml = "0.8.20"
 
 # JSON-RPC
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
@@ -38,7 +38,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 6 - 6
bin/darkirc/Cargo.toml

@@ -21,31 +21,31 @@ path = "src/main.rs"
 darkfi = {path = "../../", features = ["async-daemonize", "event-graph", "rpc", "zk"]}
 darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
 darkfi-serial = {version = "0.4.2", features = ["async"]}
-libc = "0.2.170"
+libc = "0.2.172"
 
 # Event Graph DB
 sled-overlay = "0.1.6"
 
 # TLS
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 futures = "0.3.31"
 futures-rustls = {version = "0.26.0", default-features = false, features = ["logging", "tls12", "ring"]}
 rustls-pemfile = "2.2.0"
 
 # Crypto
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 bcrypt = "0.17.0"
 crypto_box = {version = "0.9.1", features = ["std", "chacha20"]}
 rand = "0.8.5"
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 url = "2.5.4"
 
 # Encoding and parsing
 bs58 = "0.5.1"
 toml = "0.8.20"
-semver = "1.0.25"
+semver = "1.0.26"
 
 # Daemon
 easy-parallel = "3.3.1"
@@ -55,7 +55,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 23 - 23
bin/darkirc/src/main.rs

@@ -60,7 +60,7 @@ mod settings;
 
 fn panic_hook(panic_info: &std::panic::PanicHookInfo) {
     error!("panic occurred: {panic_info}");
-    error!("{}", std::backtrace::Backtrace::force_capture().to_string());
+    error!("{}", std::backtrace::Backtrace::force_capture());
     std::process::abort()
 }
 
@@ -199,7 +199,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         println!("dm_chacha_public = \"YOUR_CONTACT_PUBLIC_KEY\"");
         println!("my_dm_chacha_secret = \"{}\"", secret);
         println!("#my_dm_chacha_public = \"{}\"", public);
-        return Ok(())
+        return Ok(());
     }
 
     if args.gen_channel_secret {
@@ -208,7 +208,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         println!("Place this in your config file:\n");
         println!("[channel.\"#yourchannelname\"]");
         println!("secret = \"{}\"", secret);
-        return Ok(())
+        return Ok(());
     }
 
     if args.gen_rln_identity {
@@ -219,7 +219,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         println!("[rln]");
         println!("nullifier = \"{}\"", nullifier);
         println!("trapdoor = \"{}\"", trapdoor);
-        return Ok(())
+        return Ok(());
     }
 
     if let Some(chacha_secret) = args.chacha_secret {
@@ -227,18 +227,18 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
             Ok(v) => v,
             Err(e) => {
                 println!("Error: {}", e);
-                return Err(Error::ParseFailed("Secret key parsing failed"))
+                return Err(Error::ParseFailed("Secret key parsing failed"));
             }
         };
 
         if bytes.len() != 32 {
-            return Err(Error::ParseFailed("Decoded base58 is not 32 bytes long"))
+            return Err(Error::ParseFailed("Decoded base58 is not 32 bytes long"));
         }
 
         let secret: [u8; 32] = bytes.try_into().unwrap();
         let secret = crypto_box::SecretKey::from(secret);
         println!("{}", bs58::encode(secret.public_key().to_bytes()).into_string());
-        return Ok(())
+        return Ok(());
     }
 
     if args.list_contacts {
@@ -246,21 +246,21 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
             Ok(path) => path,
             Err(e) => {
                 error!("Unable to get config path: {}", e);
-                return Err(e)
+                return Err(e);
             }
         };
         let contents = match fs::read_to_string(&config_path).await {
             Ok(c) => c,
             Err(e) => {
                 error!("Unable read path `{config_path:?}`: {}", e);
-                return Err(e.into())
+                return Err(e.into());
             }
         };
         let contents = match toml::from_str(&contents) {
             Ok(v) => v,
             Err(e) => {
                 error!("Failed parsing TOML config: {}", e);
-                return Err(Error::ParseFailed("Failed parsing TOML config"))
+                return Err(Error::ParseFailed("Failed parsing TOML config"));
             }
         };
 
@@ -269,7 +269,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
             Ok(c) => c,
             Err(e) => {
                 error!("List contacts failed `{config_path:?}`: {}", e);
-                return Err(e)
+                return Err(e);
             }
         };
 
@@ -280,7 +280,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
             let my_public_key = bs58::encode(my_public_key.to_bytes()).into_string();
             println!("{name}: {public_key} using key {my_secret_key}({my_public_key})")
         }
-        return Ok(())
+        return Ok(());
     }
 
     if args.encrypt_password {
@@ -300,7 +300,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         println!("{}", bcrypt_hash_password(pw));
         std::io::stdout().flush()?;
 
-        return Ok(())
+        return Ok(());
     }
 
     info!("Initializing DarkIRC node");
@@ -310,19 +310,19 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(v) => v,
         Err(e) => {
             error!("Bad datastore path `{}`: {e}", args.datastore);
-            return Err(e)
+            return Err(e);
         }
     };
     if let Err(e) = fs::create_dir_all(&datastore).await {
         error!("Failed to create data store path `{datastore:?}`: {e}");
-        return Err(e.into())
+        return Err(e.into());
     }
 
     let replay_datastore = match expand_path(&args.replay_datastore) {
         Ok(v) => v,
         Err(e) => {
             error!("Bad replay datastore path `{}`: {e}", args.replay_datastore);
-            return Err(e)
+            return Err(e);
         }
     };
     let replay_mode = args.replay_mode;
@@ -332,7 +332,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(v) => v,
         Err(e) => {
             error!("Failed to open datastore database `{datastore:?}`: {e}");
-            return Err(e.into())
+            return Err(e.into());
         }
     };
     let mut p2p_settings: darkfi::net::Settings = args.net.into();
@@ -341,7 +341,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(p2p) => p2p,
         Err(e) => {
             error!("Unable to create P2P network: {e}");
-            return Err(e)
+            return Err(e);
         }
     };
     let event_graph = match EventGraph::new(
@@ -358,7 +358,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(v) => v,
         Err(e) => {
             error!("Event graph failed to start: {e}");
-            return Err(e)
+            return Err(e);
         }
     };
 
@@ -452,7 +452,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(v) => v,
         Err(e) => {
             error!("Cannot get config path `{:?}`: {e}", args.config);
-            return Err(e)
+            return Err(e);
         }
     };
     let irc_server = match IrcServer::new(
@@ -468,7 +468,7 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
         Ok(v) => v,
         Err(e) => {
             error!("Unable to create IRC server: {e}");
-            return Err(e)
+            return Err(e);
         }
     };
 
@@ -489,13 +489,13 @@ async fn realmain(args: Args, ex: Arc<Executor<'static>>) -> Result<()> {
     info!("Starting P2P network");
     if let Err(e) = p2p.clone().start().await {
         error!("P2P failed to start: {e}");
-        return Err(e)
+        return Err(e);
     }
 
     // Initial DAG sync
     if let Err(e) = sync_task(&p2p, &event_graph, args.skip_dag_sync).await {
         error!("DAG sync task failed to start: {e}");
-        return Err(e)
+        return Err(e);
     };
 
     // Stoppable task to monitor network and resync on disconnect.

+ 3 - 3
bin/dhtd/dhtd/Cargo.toml

@@ -9,12 +9,12 @@ license = "AGPL-3.0-only"
 edition = "2021"
 
 [dependencies]
-async-trait = "0.1.86"
-blake3 = "1.6.0"
+async-trait = "0.1.88"
+blake3 = "1.8.1"
 darkfi = {path = "../../../", features = ["dht"]}
 darkfi-serial = {version = "0.4.2", features = ["derive", "crypto"]}
 easy-parallel = "3.3.1"
-log = "0.4.26"
+log = "0.4.27"
 rand = "0.8.5"
 simplelog = "0.12.2"
 smol = "2.0.2"

+ 3 - 3
bin/drk/Cargo.toml

@@ -18,10 +18,10 @@ darkfi-sdk = {path = "../../src/sdk", features = ["async"]}
 darkfi-serial = "0.4.2"
 
 # Misc
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 bs58 = "0.5.1"
 lazy_static = "1.5.0"
-log = "0.4.26"
+log = "0.4.27"
 num-bigint = "0.4.6"
 prettytable-rs = "0.10.0"
 rand = "0.8.5"
@@ -38,7 +38,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 4 - 4
bin/explorer/explorerd/Cargo.toml

@@ -14,7 +14,7 @@ darkfi-sdk = {path = "../../../src/sdk"}
 darkfi-serial = "0.4.2"
 
 # JSON-RPC
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
@@ -26,7 +26,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 
@@ -34,11 +34,11 @@ structopt-toml = "0.5.1"
 sled-overlay = "0.1.6"
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 lazy_static = "1.5.0"
 tar = "0.4.44"
 toml = "0.8.20"
-thiserror = "2.0.11"
+thiserror = "2.0.12"
 
 # Testing
 tempdir = "0.3.7"

+ 1 - 1
bin/explorer/explorerd/src/service/contracts.rs

@@ -172,7 +172,7 @@ impl ExplorerService {
 
             // Add source code into the `ContractMetaStore`
             self.db.contract_meta_store.insert_source(contract_id, &source_code)?;
-            info!(target: "explorerd: load_native_contract_sources", "Loaded native contract source {}", contract_id_str.to_string());
+            info!(target: "explorerd: load_native_contract_sources", "Loaded native contract source {}", contract_id_str);
         }
         Ok(())
     }

+ 6 - 6
bin/explorer/explorerd/src/service/sync.rs

@@ -150,7 +150,7 @@ impl ExplorerService {
                     "rpc_blocks::sync_blocks",
                     "[sync_blocks] Put block failed",
                     e,
-                ))
+                ));
             };
 
             debug!(
@@ -227,7 +227,7 @@ impl ExplorerService {
                                     "Reorg detected at height {}: explorer.{} != darkfid.{}",
                                     cur_height,
                                     synced_block.header_hash,
-                                    darkfid_block.hash().to_string()
+                                    darkfid_block.hash()
                                 );
                             }
                         }
@@ -280,9 +280,9 @@ pub async fn subscribe_sync_blocks(
     };
 
     // Evaluates whether there is a mismatch between the last confirmed block and the last synced block
-    let blocks_mismatch = (last_darkfid_height != height || last_darkfid_hash != hash) &&
-        last_darkfid_height != 0 &&
-        height != 0;
+    let blocks_mismatch = (last_darkfid_height != height || last_darkfid_hash != hash)
+        && last_darkfid_height != 0
+        && height != 0;
 
     // Check if there is a mismatch, throwing an error to prevent operating in a potentially inconsistent state
     if blocks_mismatch {
@@ -360,7 +360,7 @@ pub async fn subscribe_sync_blocks(
                                 },
                             };
                             info!(target: "explorerd::rpc_blocks::subscribe_blocks", "========================================================================================");
-                            info!(target: "explorerd::rpc_blocks::subscribe_blocks", "| Block Notification: {} |", darkfid_block.hash().to_string());
+                            info!(target: "explorerd::rpc_blocks::subscribe_blocks", "| Block Notification: {} |", darkfid_block.hash());
                             info!(target: "explorerd::rpc_blocks::subscribe_blocks", "========================================================================================");
 
                             // Store darkfi node block height for later use

+ 1 - 1
bin/explorer/explorerd/src/store/contract_metadata.rs

@@ -287,7 +287,7 @@ impl ContractMetadataStoreOverlay {
                 &serialized_metadata,
             )?;
             debug!(target: "explorerd::contract_meta_store::insert_metadata",
-                "Inserted contract metadata for contract_id {}: {metadata:?}", contract_id.to_string());
+                "Inserted contract metadata for contract_id {}: {metadata:?}", contract_id);
         }
 
         // Commit the changes

+ 3 - 3
bin/explorer/explorerd/src/store/metrics.rs

@@ -511,7 +511,7 @@ impl MetricsStoreOverlay {
 
             // Insert serialized gas data
             lock.insert(SLED_TX_GAS_DATA_TREE, tx_hash.inner(), &serialized_gas_data)?;
-            info!(target: "explorerd::metrics_store::insert_tx_gas_data", "Inserted gas data for transaction {}: {gas_data:?}", tx_hash.to_string());
+            info!(target: "explorerd::metrics_store::insert_tx_gas_data", "Inserted gas data for transaction {}: {gas_data:?}", tx_hash);
         }
 
         Ok(())
@@ -1244,8 +1244,8 @@ mod tests {
 
         // Iterate and load data
         for height in 0..HEIGHT {
-            let timestamp_secs = (UNIX_EPOCH +
-                Duration::from_secs(start_time + height as u64 * GAS_METRICS_KEY_TIME_INTERVAL))
+            let timestamp_secs = (UNIX_EPOCH
+                + Duration::from_secs(start_time + height as u64 * GAS_METRICS_KEY_TIME_INTERVAL))
             .duration_since(UNIX_EPOCH)?
             .as_secs();
 

+ 1 - 1
bin/fud/fu/Cargo.toml

@@ -16,7 +16,7 @@ smol = "2.0.2"
 
 # Misc
 clap = {version = "4.4.11", features = ["derive"]}
-log = "0.4.26"
+log = "0.4.27"
 simplelog = "0.12.2"
 url = "2.5.4"
 termcolor = "1.4.1"

+ 4 - 4
bin/fud/fud/Cargo.toml

@@ -13,11 +13,11 @@ darkfi = {path = "../../../", features = ["async-daemonize", "geode", "rpc"]}
 darkfi-serial = {version = "0.4.2", features = ["hash"]}
 
 # Misc
-async-trait = "0.1.86"
-blake3 = "1.6.0"
+async-trait = "0.1.88"
+blake3 = "1.8.1"
 bs58 = "0.5.1"
 rand = "0.8.5"
-log = "0.4.26"
+log = "0.4.27"
 tinyjson = "2.5.1"
 url = "2.5.4"
 num-bigint = "0.4.6"
@@ -31,7 +31,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 1 - 1
bin/genev/genev-cli/Cargo.toml

@@ -16,7 +16,7 @@ darkfi-serial = "0.4.2"
 
 smol = "2.0.2"
 clap = {version = "4.4.11", features = ["derive"]}
-log = "0.4.26"
+log = "0.4.27"
 simplelog = "0.12.2"
 tinyjson = "2.5.1"
 url = "2.5.4"

+ 4 - 4
bin/genev/genevd/Cargo.toml

@@ -25,14 +25,14 @@ darkfi = { path = "../../../", features = [
 darkfi-serial = "0.4.2"
 
 # Crypto
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 
 # Event Graph DB
 sled-overlay = "0.1.6"
 
 # Misc
-async-trait = "0.1.86"
-log = "0.4.26"
+async-trait = "0.1.88"
+log = "0.4.27"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
@@ -44,7 +44,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = { version = "1.0.218", features = ["derive"] }
+serde = { version = "1.0.219", features = ["derive"] }
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 4 - 4
bin/lilith/Cargo.toml

@@ -12,10 +12,10 @@ repository = "https://codeberg.org/darkrenaissance/darkfi"
 darkfi = {path = "../../", features = ["toml", "async-daemonize", "rpc"]}
 
 # Misc
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 futures = "0.3.31"
-log = "0.4.26"
-semver = "1.0.25"
+log = "0.4.27"
+semver = "1.0.26"
 tinyjson = "2.5.1"
 toml = "0.8.20"
 url = "2.5.4"
@@ -28,7 +28,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 2 - 2
bin/minerd/Cargo.toml

@@ -15,7 +15,7 @@ darkfi-sdk = {path = "../../src/sdk"}
 darkfi-serial = {version = "0.4.2", features = ["async"]}
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 num-bigint = "0.4.6"
 
 # JSON-RPC
@@ -30,7 +30,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 7 - 7
bin/tau/taud/Cargo.toml

@@ -31,7 +31,7 @@ darkfi-serial = "0.4.2"
 sled-overlay = "0.1.6"
 
 # Crypto
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 crypto_box = { version = "0.9.1", features = ["std", "chacha20"] }
 rand = "0.8.5"
 
@@ -40,12 +40,12 @@ bs58 = "0.5.1"
 toml = "0.8.20"
 
 # Misc
-async-trait = "0.1.86"
-chrono = "0.4.39"
+async-trait = "0.1.88"
+chrono = "0.4.40"
 futures = "0.3.31"
-libc = "0.2.170"
-log = "0.4.26"
-thiserror = "2.0.11"
+libc = "0.2.172"
+log = "0.4.27"
+thiserror = "2.0.12"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
@@ -57,7 +57,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = { version = "1.0.218", features = ["derive"] }
+serde = { version = "1.0.219", features = ["derive"] }
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 1 - 1
bin/vanityaddr/Cargo.toml

@@ -11,7 +11,7 @@ edition = "2021"
 [dependencies]
 arg = {git = "https://github.com/parazyd/arg"}
 bs58 = "0.5.1"
-ctrlc = "3.4.5"
+ctrlc = "3.4.6"
 darkfi = {path = "../../", features = ["util"]}
 darkfi-sdk = {path = "../../src/sdk"}
 darkfi_money_contract = {path = "../../src/contract/money", features = ["no-entrypoint", "client"]}

+ 3 - 3
example/dchat/dchatd/Cargo.toml

@@ -23,13 +23,13 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # arg parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 
 # misc
-async-trait = "0.1.86"
-log = "0.4.26"
+async-trait = "0.1.88"
+log = "0.4.27"
 url = "2.5.4"
 # ANCHOR_END: dependencies
 

+ 4 - 4
example/p2pdebug/Cargo.toml

@@ -14,8 +14,8 @@ darkfi = {path = "../../", features = ["net", "rpc"]}
 # Async
 smol = "2.0.2"
 futures = "0.3.31"
-async-std = "1.13.0"
-async-trait = "0.1.86"
+async-std = "1.13.1"
+async-trait = "0.1.88"
 async-channel = "2.3.1"
 async-executor = "1.13.1"
 easy-parallel = "3.3.1"
@@ -25,13 +25,13 @@ rand = "0.8.5"
 
 # Misc
 clap = {version = "4.4.11", features = ["derive"]}
-log = "0.4.26"
+log = "0.4.27"
 simplelog = "0.12.2"
 fxhash = "0.2.1"
 url = "2.5.4"
 
 # Encoding and parsing
-serde_json = "1.0.139"
+serde_json = "1.0.140"
 
 [lints]
 workspace = true

+ 1 - 1
fuzz/honggfuzz/Cargo.toml

@@ -8,7 +8,7 @@ edition = "2021"
 cargo-fuzz = true
 
 [dependencies]
-honggfuzz = "0.5.56"
+honggfuzz = "0.5.57"
 bitcoin = "0.32.5"
 
 [dependencies.darkfi]

+ 5 - 5
script/evgrd/Cargo.toml

@@ -29,24 +29,24 @@ darkfi-serial = {version = "0.4.2", features = ["async"]}
 sled-overlay = "0.1.6"
 
 # Crypto
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 url = "2.5.4"
 
 # Daemon
 smol = "2.0.2"
 
 # evgrd deps
-async-trait = {version = "0.1.86", optional = true}
+async-trait = {version = "0.1.88", optional = true}
 futures = {version = "0.3.31", optional = true}
-semver = {version = "1.0.25", optional = true}
+semver = {version = "1.0.26", optional = true}
 easy-parallel = {version = "3.3.1", optional = true}
 signal-hook-async-std = {version = "0.2.2", optional = true}
 signal-hook = {version = "0.3.17", optional = true}
 simplelog = {version = "0.12.2", optional = true}
-serde = {version = "1.0.218", features = ["derive"], optional = true}
+serde = {version = "1.0.219", features = ["derive"], optional = true}
 structopt = {version = "0.3.26", optional = true}
 structopt-toml = {version = "0.5.1", optional = true}
 

+ 3 - 3
script/research/blockchain-storage-metrics/Cargo.toml

@@ -15,10 +15,10 @@ darkfi = {path = "../../../", features = ["async-daemonize", "validator", "rpc"]
 darkfi-serial = "0.4.2"
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 
 # JSON-RPC
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
@@ -30,7 +30,7 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 1 - 1
script/research/dam/dam-cli/Cargo.toml

@@ -16,7 +16,7 @@ darkfi-serial = "0.4.2"
 
 # Misc
 clap = {version = "4.4.11", features = ["derive"]}
-log = "0.4.26"
+log = "0.4.27"
 simplelog = "0.12.2"
 smol = "2.0.2"
 url = "2.5.4"

+ 4 - 4
script/research/dam/damd/Cargo.toml

@@ -15,15 +15,15 @@ darkfi = {path = "../../../../", features = ["async-daemonize", "rpc"]}
 darkfi-serial = "0.4.2"
 
 # Misc
-log = "0.4.26"
+log = "0.4.27"
 
 # JSON-RPC
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
 # Daemon
-async-std = {version = "1.13.0", features = ["attributes"]}
+async-std = {version = "1.13.1", features = ["attributes"]}
 easy-parallel = "3.3.1"
 signal-hook-async-std = "0.2.2"
 signal-hook = "0.3.17"
@@ -31,6 +31,6 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"

+ 8 - 8
script/research/dhtd/Cargo.toml

@@ -12,20 +12,20 @@ features = ["dht"]
 [dependencies]
 async-channel = "2.3.1"
 async-executor = "1.13.1"
-async-std = "1.13.0"
-async-trait = "0.1.86"
-blake3 = "1.6.0"
-ctrlc = { version = "3.4.5", features = ["termination"] }
+async-std = "1.13.1"
+async-trait = "0.1.88"
+blake3 = "1.8.1"
+ctrlc = { version = "3.4.6", features = ["termination"] }
 easy-parallel = "3.3.1"
 futures-lite = "2.6.0"
-log = "0.4.26"
-serde_json = "1.0.139"
+log = "0.4.27"
+serde_json = "1.0.140"
 simplelog = "0.12.2"
 url = "2.5.4"
 
 # Argument parsing
-serde = "1.0.218"
-serde_derive = "1.0.218"
+serde = "1.0.219"
+serde_derive = "1.0.219"
 structopt = "0.3.26"
 structopt-toml = "0.5.1"
 

+ 2 - 2
script/research/generic-node/Cargo.toml

@@ -16,13 +16,13 @@ rand = "0.8.5"
 
 # Daemon
 easy-parallel = "3.3.1"
-log = "0.4.26"
+log = "0.4.27"
 signal-hook-async-std = "0.2.2"
 signal-hook = "0.3.17"
 simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"

+ 1 - 1
script/research/pallas_constants/Cargo.toml

@@ -10,7 +10,7 @@ edition = "2021"
 [workspace]
 
 [dependencies]
-anyhow = "1.0.96"
+anyhow = "1.0.98"
 darkfi = {path = "../../../", features = ["blockchain"]}
 darkfi-sdk = {path = "../../../src/sdk"}
 

+ 1 - 1
script/research/rln/rlnv2/Cargo.toml

@@ -12,7 +12,7 @@ darkfi-sdk = {path = "../../../../src/sdk"}
 darkfi = {path = "../../../../", features = ["zk"]}
 lazy_static = "1.5.0"
 rand = "0.8.5"
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 
 [patch.crates-io]
 halo2_proofs = {git="https://github.com/parazyd/halo2", branch="v4"}

+ 4 - 4
script/research/rlnd/rlnd/Cargo.toml

@@ -17,16 +17,16 @@ darkfi-serial = "0.4.2"
 
 # Misc
 bs58 = "0.5.1"
-log = "0.4.26"
+log = "0.4.27"
 sled-overlay = "0.1.6"
 
 # JSON-RPC
-async-trait = "0.1.86"
+async-trait = "0.1.88"
 tinyjson = "2.5.1"
 url = "2.5.4"
 
 # Daemon
-async-std = {version = "1.13.0", features = ["attributes"]}
+async-std = {version = "1.13.1", features = ["attributes"]}
 easy-parallel = "3.3.1"
 signal-hook-async-std = "0.2.2"
 signal-hook = "0.3.17"
@@ -34,6 +34,6 @@ simplelog = "0.12.2"
 smol = "2.0.2"
 
 # Argument parsing
-serde = {version = "1.0.218", features = ["derive"]}
+serde = {version = "1.0.219", features = ["derive"]}
 structopt = "0.3.26"
 structopt-toml = "0.5.1"

+ 1 - 1
script/research/snowball/Cargo.toml

@@ -11,6 +11,6 @@ edition = "2021"
 darkfi = {path = "../../../", features = ["util"]}
 darkfi-serial = {path = "../../../src/serial"}
 
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 num-bigint = "0.4.6"
 rand = "0.8.5"

+ 2 - 2
src/contract/dao/Cargo.toml

@@ -14,14 +14,14 @@ bs58 = "0.5.1"
 darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
 darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
 darkfi_money_contract = { path = "../money", features = ["no-entrypoint"] }
-thiserror = "2.0.11"
+thiserror = "2.0.12"
 
 # The following dependencies are used for the client API and
 # probably shouldn't be in WASM
 chacha20poly1305 = { version = "0.10.1", optional = true }
 darkfi = { path = "../../../", features = ["zk", "rpc", "blockchain"], optional = true }
 halo2_proofs = { version = "0.3.0", optional = true }
-log = { version = "0.4.26", optional = true }
+log = { version = "0.4.27", optional = true }
 rand = { version = "0.8.5", optional = true }
 
 # These are used just for the integration tests

+ 3 - 3
src/contract/deployooor/Cargo.toml

@@ -11,13 +11,13 @@ crate-type = ["cdylib", "rlib"]
 [dependencies]
 darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
 darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
-thiserror = "2.0.11"
-wasmparser = "0.226.0"
+thiserror = "2.0.12"
+wasmparser = "0.228.0"
 
 # The following dependencies are used for the client API and
 # probably shouldn't be in WASM
 darkfi = { path = "../../../", features = ["zk"], optional = true }
-log = { version = "0.4.26", optional = true }
+log = { version = "0.4.27", optional = true }
 rand = { version = "0.8.5", optional = true }
 
 # These are used for integration tests

+ 3 - 3
src/contract/money/Cargo.toml

@@ -9,18 +9,18 @@ edition = "2021"
 crate-type = ["cdylib", "rlib"]
 
 [dependencies]
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 bs58 = "0.5.1"
 darkfi-sdk = { path = "../../sdk", features = ["wasm"] }
 darkfi-serial = { version = "0.4.2", features = ["derive", "crypto"] }
-thiserror = "2.0.11"
+thiserror = "2.0.12"
 
 # The following dependencies are used for the client API and
 # probably shouldn't be in WASM
 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.26", optional = true }
+log = { version = "0.4.27", optional = true }
 rand = { version = "0.8.5", optional = true }
 
 # Misc

+ 2 - 2
src/contract/test-harness/Cargo.toml

@@ -15,8 +15,8 @@ darkfi_money_contract = {path = "../money", features = ["client", "no-entrypoint
 darkfi_deployooor_contract = {path = "../deployooor", features = ["client", "no-entrypoint"]}
 
 num-bigint = "0.4.6"
-blake3 = "1.6.0"
-log = "0.4.26"
+blake3 = "1.8.1"
+log = "0.4.27"
 rand = "0.8.5"
 simplelog = "0.12.2"
 sled-overlay = "0.1.6"

+ 12 - 11
src/net/transport/tor.rs

@@ -102,7 +102,7 @@ impl TorDialer {
             Ok(client) => client.isolated_client(),
             Err(e) => {
                 warn!(target: "net::tor::TorDialer", "{}", e.report());
-                return Err(io::Error::other("Internal Tor error, see logged warning"))
+                return Err(io::Error::other("Internal Tor error, see logged warning"));
             }
         };
 
@@ -208,7 +208,7 @@ impl TorListener {
             Ok(client) => client.isolated_client(),
             Err(e) => {
                 warn!(target: "net::tor::do_listen", "{}", e.report());
-                return Err(io::Error::other("Internal Tor error, see logged warning"))
+                return Err(io::Error::other("Internal Tor error, see logged warning"));
             }
         };
 
@@ -221,7 +221,7 @@ impl TorListener {
                     target: "net::tor::do_listen",
                     "[P2P] Failed to create OnionServiceConfig: {}", e,
                 );
-                return Err(io::Error::other("Internal Tor error"))
+                return Err(io::Error::other("Internal Tor error"));
             }
         };
 
@@ -232,18 +232,19 @@ impl TorListener {
                     target: "net::tor::do_listen",
                     "[P2P] Failed to launch Onion Service: {}", e,
                 );
-                return Err(io::Error::other("Internal Tor error"))
+                return Err(io::Error::other("Internal Tor error"));
             }
         };
 
         info!(
             target: "net::tor::do_listen",
             "[P2P] Established Tor listener on tor://{}:{}",
-            onion_service.onion_name().unwrap(), port,
+            onion_service.onion_address().unwrap(), port,
         );
 
         let endpoint =
-            Url::parse(&format!("tor://{}:{}", onion_service.onion_name().unwrap(), port)).unwrap();
+            Url::parse(&format!("tor://{}:{}", onion_service.onion_address().unwrap(), port))
+                .unwrap();
         self.endpoint.set(endpoint).await.expect("fatal endpoint already set for TorListener");
 
         Ok(TorListenerIntern {
@@ -270,7 +271,7 @@ impl PtListener for TorListenerIntern {
         let mut rendreq_stream = self.rendreq_stream.lock().await;
 
         let Some(rendrequest) = rendreq_stream.next().await else {
-            return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
+            return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"));
         };
 
         drop(rendreq_stream);
@@ -282,19 +283,19 @@ impl PtListener for TorListenerIntern {
                     target: "net::tor::PtListener::next",
                     "[P2P] Failed accepting Tor RendRequest: {}", e,
                 );
-                return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
+                return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"));
             }
         };
 
         let Some(streamrequest) = streamreq_stream.next().await else {
-            return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
+            return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"));
         };
 
         // Validate port correctness
         match streamrequest.request() {
             IncomingStreamRequest::Begin(begin) => {
                 if begin.port() != self.port {
-                    return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"))
+                    return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted"));
                 }
             }
             &_ => return Err(io::Error::new(ErrorKind::ConnectionAborted, "Connection Aborted")),
@@ -307,7 +308,7 @@ impl PtListener for TorListenerIntern {
                     target: "net::tor::PtListener::next",
                     "[P2P] Failed accepting Tor StreamRequest: {}", e,
                 );
-                return Err(io::Error::other("Internal Tor error"))
+                return Err(io::Error::other("Internal Tor error"));
             }
         };
 

+ 2 - 2
src/sdk/Cargo.toml

@@ -18,7 +18,7 @@ wasm = []
 
 [dependencies]
 # Error handling
-thiserror = "2.0.11"
+thiserror = "2.0.12"
 
 # Serialization
 darkfi-serial = {version = "0.4.2", features = ["crypto"]}
@@ -29,7 +29,7 @@ sha2 = "0.10.8"
 
 # Cryptography
 blake2b_simd = "1.0.3"
-blake3 = "1.6.0"
+blake3 = "1.8.1"
 chacha20poly1305 = "0.10.1"
 halo2_gadgets = "0.3.1"
 bridgetree = "0.6.0"

Some files were not shown because too many files changed in this diff