rust: Bump crate dependencies Match versions that are in third_party in Fuchsia for now. Update to using log instead of tracing. Test: build changes only, cargo build Change-Id: Idac95d76a379ca994c5f495ba6beaf0ee2def825 Reviewed-on: https://bluetooth-review.googlesource.com/c/bluetooth/+/2280 Reviewed-by: Dayeong Lee <dayeonglee@google.com>
diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 8aaf960..d1f23ca 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml
@@ -21,11 +21,11 @@ ## External dependencies assert_matches = "1.5.0" -bitfield = "0.14.0" # 0.14.0 in Fuchsia -futures = "0.3.19" # 0.3.19 in Fuchsia -lazy_static = "1" -parking_lot = "0.12.0" # 0.12.0 in Fuchsia -pretty_assertions = "1" -thiserror = "1.0.23" -tracing = { version = "0.1.40", default-features = false, features = ["std", "attributes"] } +bitfield = "0.14.0" +futures = "=0.3.30" +lazy_static = "1.4" +log = { version = "0.4.22", features = [ "kv", "std" ] } +parking_lot = "0.12.0" +pretty_assertions = "1.2.1" +thiserror = "2.0.11" uuid = { version = "1.1.2", features = ["serde", "v4"] }
diff --git a/rust/bt-bass/Cargo.toml b/rust/bt-bass/Cargo.toml index 555d6ea..51fe888 100644 --- a/rust/bt-bass/Cargo.toml +++ b/rust/bt-bass/Cargo.toml
@@ -13,9 +13,9 @@ bt-common.workspace = true bt-gatt = { workspace = true, features = ["test-utils"] } futures.workspace = true +log.workspace = true parking_lot.workspace = true thiserror.workspace = true -tracing.workspace = true [dev-dependencies] assert_matches.workspace = true
diff --git a/rust/bt-bass/src/client.rs b/rust/bt-bass/src/client.rs index f7e4038..0e7d18c 100644 --- a/rust/bt-bass/src/client.rs +++ b/rust/bt-bass/src/client.rs
@@ -10,8 +10,8 @@ use futures::stream::{BoxStream, FusedStream, SelectAll, Stream, StreamExt}; use futures::Future; +use log::warn; use parking_lot::Mutex; -use tracing::warn; use bt_bap::types::BroadcastId; use bt_common::core::{AddressType, AdvertisingSetId, PaInterval};