From 525d25220f032d13500ac4db81e5f74ffb8b2c99 Mon Sep 17 00:00:00 2001 From: Yona Appletree Date: Thu, 16 Jul 2026 17:51:18 -0700 Subject: [PATCH] fix(lpa-link): declare required-features for manage_smoke example The manage_smoke example imports DeviceTimers and the host_serial_esp32 provider, both gated behind the host-serial-esp32 feature chain, but Cargo.toml had no [[example]] entry saying so. As a result `cargo test -p lpa-link` and `cargo build -p lpa-link --examples` failed to compile on a clean tree with E0432/E0599; workspace-level builds only passed via feature unification from sibling crates. Declare the example with required-features = ["host-serial-esp32"] so default-feature builds skip it and feature-enabled builds still compile it. Co-Authored-By: Claude Fable 5 --- lp-app/lpa-link/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lp-app/lpa-link/Cargo.toml b/lp-app/lpa-link/Cargo.toml index 1474c239d..68743ecdf 100644 --- a/lp-app/lpa-link/Cargo.toml +++ b/lp-app/lpa-link/Cargo.toml @@ -91,5 +91,9 @@ host-serial-esp32 = [ "dep:tokio", ] +[[example]] +name = "manage_smoke" +required-features = ["host-serial-esp32"] + [lints] workspace = true