From a9a1fc40dbc09b2947373a6e6ca62f44a15f9fc1 Mon Sep 17 00:00:00 2001 From: cscherr Date: Wed, 9 Jul 2025 14:05:57 +0200 Subject: [PATCH] refactor!: logging is no longer a feature --- Cargo.toml | 4 ---- build.rs | 5 +---- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e5f0a53..0fb6391 100755 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,3 @@ chrono = { version = "0.4.41", default-features = false } [profile.release] debug = "full" # those are not on the board - -[features] -default = ["logging"] -logging = ["dep:defmt", "dep:defmt-rtt", "dep:panic-probe"] diff --git a/build.rs b/build.rs index 6aec154..3987a39 100755 --- a/build.rs +++ b/build.rs @@ -1,8 +1,5 @@ fn main() { println!("cargo::rerun-if-changed=Cargo.toml"); println!("cargo::rustc-link-arg=-Tlink.x"); - #[cfg(feature = "logging")] - { - println!("cargo::rustc-link-arg=-Tdefmt.x"); - } + println!("cargo::rustc-link-arg=-Tdefmt.x"); }