From 3329089412e3ab367893eb975d611be49c8f5c5d Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Fri, 25 Jul 2025 00:11:42 +0200 Subject: [PATCH] embassy-embedded-hal: make time feature non-default default features considered harmful. --- ci.sh | 2 ++ embassy-embedded-hal/Cargo.toml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ci.sh b/ci.sh index 94f70aae8..f4db1da03 100755 --- a/ci.sh +++ b/ci.sh @@ -40,6 +40,8 @@ cargo batch \ --- build --release --manifest-path embassy-executor/Cargo.toml --target armv7r-none-eabihf --features arch-cortex-ar,executor-thread \ --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32 \ --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,executor-thread \ + --- build --release --manifest-path embassy-embedded-hal/Cargo.toml --target thumbv7em-none-eabi \ + --- build --release --manifest-path embassy-embedded-hal/Cargo.toml --target thumbv7em-none-eabi --features time \ --- build --release --manifest-path embassy-sync/Cargo.toml --target thumbv6m-none-eabi --features defmt \ --- build --release --manifest-path embassy-time/Cargo.toml --target thumbv6m-none-eabi --features defmt,defmt-timestamp-uptime,mock-driver \ --- build --release --manifest-path embassy-time-queue-utils/Cargo.toml --target thumbv6m-none-eabi \ diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml index aab6e0f1e..8277aa291 100644 --- a/embassy-embedded-hal/Cargo.toml +++ b/embassy-embedded-hal/Cargo.toml @@ -19,7 +19,6 @@ target = "x86_64-unknown-linux-gnu" [features] time = ["dep:embassy-time"] -default = ["time"] [dependencies] embassy-hal-internal = { version = "0.3.0", path = "../embassy-hal-internal" }