diff --git a/Cargo.lock b/Cargo.lock index 3026502e5..38d3ebedc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5435,7 +5435,6 @@ version = "0.1.41" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "784e0ac535deb450455cbfa28a6f0df145ea1bb7ae51b821cf5e7927fdcfbdd0" dependencies = [ - "log", "pin-project-lite", "tracing-attributes", "tracing-core", diff --git a/Cargo.toml b/Cargo.toml index 9e83eff40..54daf7e3f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ async-rt = "0.1.5" async-stream = { version = "0.3.6" } async-trait = { version = "0.1.85" } asynchronous-codec = "0.7.0" -base64 = { default-features = false, features = ["alloc"], version = "0.22.1" } +base64 = { version = "0.22.1" } bytes = "1.9.0" cid = "0.11.1" chrono = { version = "0.4.39" } @@ -38,7 +38,7 @@ futures-timer = "3.0.0" getrandom = { version = "0.2.15" } hickory-resolver = "0.25.0-alpha.4" hkdf = "0.12.4" -idb = "0.6.3" +idb = "0.6.4" indexmap = "2.7.0" ipld-core = { version = "0.4.1", features = ["serde"] } ipld-dagpb = "0.2.1" @@ -51,8 +51,9 @@ libp2p-webrtc = { version = "=0.9.0-alpha", features = ["pem"] } libp2p-webrtc-websys = "0.4.0" multibase = "0.9.1" multihash = "0.19.3" -multihash-codetable = { version = "0.1.3", default-features = false } +multihash-codetable = { version = "0.1.3" } multihash-derive = "0.9.0" +# TODO: Determine if we should just rely on default features p256 = { version = "0.13.2", default-features = false, features = ["ecdsa", "std", "pem"] } parking_lot = "0.12.3" pem = { version = "3.0.4" } @@ -67,20 +68,16 @@ rust-ipns = { version = "0.7.0", path = "packages/rust-ipns" } rust-unixfs = { version = "0.5.0", path = "unixfs" } sec1 = { version = "0.7.3", features = ["pem", "pkcs8"] } send_wrapper = "0.6.0" -serde = { default-features = false, version = "1.0.215" } +serde = { version = "1.0.215" } serde_ipld_dagcbor = "0.6.1" serde_ipld_dagjson = "0.2.0" -serde_json = { default-features = false, version = "1.0.135" } -serde-wasm-bindgen = "0.6" +serde_json = { version = "1.0.135" } +serde-wasm-bindgen = "0.6.5" sha2 = "0.10.8" simple_x509 = "=1.1.0" -thiserror = { default-features = false, version = "2.0.9" } -tracing = { default-features = false, features = ["log"], version = "0.1.41" } -tracing-futures = { default-features = false, features = [ - "std-future", - "std", - "futures-03", -], version = "0.2.5" } +thiserror = { version = "2.0.11" } +tracing = { version = "0.1.41" } +tracing-futures = { features = ["futures-03"], version = "0.2.5" } tokio = { default-features = false, version = "1.43.0" } tokio-stream = { default-features = false, version = "0.1.17" } @@ -129,10 +126,10 @@ sec1.workspace = true serde = { features = ["derive"], workspace = true } serde_ipld_dagcbor.workspace = true serde_ipld_dagjson.workspace = true -serde_json = { features = ["std"], workspace = true } +serde_json = { workspace = true } sha2.workspace = true -thiserror = { default-features = false, workspace = true } -tracing = { default-features = false, features = ["log"], workspace = true } +thiserror = { workspace = true } +tracing = { workspace = true } tracing-futures = { workspace = true } unsigned-varint.workspace = true web-time.workspace = true @@ -165,20 +162,12 @@ tokio-util = { workspace = true, default-features = false } wasm-bindgen-futures.workspace = true [dev-dependencies] -hex-literal = { default-features = false, version = "0.4" } -sha2 = { default-features = false, version = "0.10" } -tokio = { features = ["full"], version = "1" } -rustyline-async = { version = "0.4" } -tracing-subscriber = { default-features = false, features = [ - "fmt", - "tracing-log", - "ansi", - "env-filter", -], version = "0.3" } -rand = { default-features = false, version = "0.8", features = [ - "std", - "std_rng", -] } +hex-literal = { default-features = false, version = "0.4.1" } +sha2 = { workspace = true } +tokio = { features = ["full"], workspace = true } +rustyline-async = { version = "0.4.5" } +tracing-subscriber = { features = ["env-filter"], version = "0.3.19" } +rand = { workspace = true } tempfile = "3.15.0" clap = { workspace = true } diff --git a/packages/libp2p-relay-manager/Cargo.toml b/packages/libp2p-relay-manager/Cargo.toml index 515f94948..20096452d 100644 --- a/packages/libp2p-relay-manager/Cargo.toml +++ b/packages/libp2p-relay-manager/Cargo.toml @@ -14,20 +14,20 @@ exclude = [".gitignore"] [dependencies] libp2p = { workspace = true, features = ["relay"] } -anyhow = "1.0" -futures = "0.3" +anyhow = "1.0.95" +futures = "0.3.31" -rand = "0.8" +rand = "0.8.5" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] -futures-timer = { version = "3.0" } +futures-timer = { version = "3.0.3" } [target.'cfg(target_arch = "wasm32")'.dependencies] getrandom = { workspace = true, features = ["js"] } -futures-timer = { version = "3.0", features = ["wasm-bindgen"] } +futures-timer = { version = "3.0.3", features = ["wasm-bindgen"] } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] libp2p = { workspace = true, features = ["full"] } tokio = { workspace = true, features = ["full"] } -clap = { version = "4.5", features = ["derive"] } -env_logger = "0.11" \ No newline at end of file +clap = { version = "4.5.26", features = ["derive"] } +env_logger = "0.11.6" \ No newline at end of file diff --git a/src/repo/mod.rs b/src/repo/mod.rs index e6dbee9fe..2b32131cd 100644 --- a/src/repo/mod.rs +++ b/src/repo/mod.rs @@ -24,7 +24,7 @@ use std::task::{Context, Poll}; use std::time::Duration; use std::{error, fmt, io}; use tokio::sync::{Notify, RwLockReadGuard}; -use tracing::{log, Instrument, Span}; +use tracing::{Instrument, Span}; #[macro_use] #[cfg(test)] @@ -575,9 +575,9 @@ impl Repo { // Dropping the guard (even though not strictly necessary to compile) to avoid potential // deadlocks if `block_store` or `data_store` were to try to access `Repo.lockfile`. { - log::debug!("Trying lockfile"); + tracing::debug!("Trying lockfile"); self.inner.lockfile.try_exclusive()?; - log::debug!("lockfile tried"); + tracing::debug!("lockfile tried"); } self.inner.block_store.init().await?; diff --git a/unixfs/Cargo.toml b/unixfs/Cargo.toml index e2855b86b..27ff8f23c 100644 --- a/unixfs/Cargo.toml +++ b/unixfs/Cargo.toml @@ -14,23 +14,21 @@ default = ["filetime"] [dependencies] ipld-core = "0.4.1" ipld-dagpb = "0.2.1" -multihash = "0.19.2" -multihash-codetable = { version = "0.1.3", default-features = false, features = ["std", "sha2"] } -multihash-derive = "0.9.0" +multihash = "0.19.3" +multihash-codetable = { version = "0.1.4", default-features = false, features = ["std", "sha2"] } +multihash-derive = "0.9.1" -either = { default-features = false, version = "1.13" } -filetime = { optional = true, version = "0.2" } -quick-protobuf = { default-features = false, features = [ - "std", -], version = "0.8" } -sha2 = { default-features = false, version = "0.10" } +either = { default-features = false, version = "1.13.0" } +filetime = { optional = true, version = "0.2.25" } +quick-protobuf = { version = "0.8.1" } +sha2 = { default-features = false, version = "0.10.2" } [dev-dependencies] -hex-literal = { default-features = false, version = "0.4" } -libc = { default-features = false, version = "0.2" } -multibase = { default-features = false, version = "0.9" } -tar = { default-features = false, version = "0.4" } -criterion = { default-features = false, version = "0.5" } +hex-literal = { default-features = false, version = "0.4.1" } +libc = { default-features = false, version = "0.2.169" } +multibase = { default-features = false, version = "0.9.1" } +tar = { default-features = false, version = "0.4.43" } +criterion = { default-features = false, version = "0.5.1" } [[bench]] name = "ingest-tar"