diff --git a/Cargo.toml b/Cargo.toml index 637f0ee4f9eb30581e4a71fc2b1dba36e69ba518..f0e86c7935548451bd8b5dced726cfadc5db87e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ enum_dispatch = "0.3" glam = { version = "0.29", features = ["serde", "mint"] } itertools = "0.14.0" mint = "0.5.9" -profiling = { version = "1.0", features = ["profile-with-tracy"] } +profiling = "1.0" ring-channel = "0.12.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" @@ -34,7 +34,6 @@ strum_macros = "0.26" tracing = "0.1" tracing-appender = "0.2" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } -tracing-tracy = "0.11.4" uuid = { version = "1.12.1", features = ["serde", "v7"] } [dependencies.skyward_mavlink] @@ -50,6 +49,9 @@ features = ["serde"] [dev-dependencies] rand = "0.9.0" +[features] +profiling = ["profiling/profile-with-tracy"] + [package.metadata.packager] product-name = "SEGS" description = "Skyward Enhanced Ground Software" diff --git a/src/main.rs b/src/main.rs index d89aad4229a4cccfcf98180a79938f730fe7c32b..ec504b5e76631e70cc7c16fac8be99a6369c4698 100644 --- a/src/main.rs +++ b/src/main.rs @@ -26,8 +26,7 @@ fn main() -> Result<(), eframe::Error> { // Set up logging (USE RUST_LOG=debug to see logs) let env_filter = EnvFilter::builder().from_env_lossy(); let registry = tracing_subscriber::registry() - .with(tracing_subscriber::fmt::layer().with_filter(env_filter)) - .with(tracing_tracy::TracyLayer::default()); + .with(tracing_subscriber::fmt::layer().with_filter(env_filter)); // Create the logs directory if it doesn't exist and add to the registry if let Some(base_dirs) = directories::BaseDirs::new() {