diff --git a/maplibre/Cargo.toml b/maplibre/Cargo.toml index 1c347f48..f4c516ae 100644 --- a/maplibre/Cargo.toml +++ b/maplibre/Cargo.toml @@ -15,7 +15,7 @@ authors.workspace = true default = [] web-webgl = ["wgpu/webgl"] # Enable tracing using tracy on desktop/mobile and the chrome profiler on web -trace = ["tracing-subscriber", "tracing-tracy", "tracy-client"] +trace = ["tracing-subscriber", "tracing-tracy"] thread-safe-futures = [] embed-static-tiles = ["maplibre-build-tools/sqlite"] headless = ["png"] @@ -29,7 +29,6 @@ reqwest = { version = "0.11.11", default-features = false, features = ["rustls-t reqwest-middleware-cache = "0.1.1" # FIXME: Untrusted dependency reqwest-middleware = "0.1.6" # FIXME: Untrusted dependency tracing-tracy = { version = "0.10", optional = true } -tracy-client = { version = "0.14", optional = true } [target.'cfg(target_os = "android")'.dependencies] # Use rusttls on android because cross compiling is difficult diff --git a/maplibre/src/platform/noweb/mod.rs b/maplibre/src/platform/noweb/mod.rs index 868d6637..3012ca29 100644 --- a/maplibre/src/platform/noweb/mod.rs +++ b/maplibre/src/platform/noweb/mod.rs @@ -13,7 +13,7 @@ pub fn run_multithreaded(future: F) -> F::Output { .enable_time() .on_thread_start(|| { #[cfg(feature = "trace")] - tracy_client::set_thread_name!("tokio-runtime-worker"); + tracing_tracy::client::set_thread_name!("tokio-runtime-worker"); }) .build() .unwrap()