aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-07-25 00:11:42 +0200
committerDario Nieuwenhuis <[email protected]>2025-07-25 00:11:42 +0200
commit3329089412e3ab367893eb975d611be49c8f5c5d (patch)
treed687b98c2c2cd4686a294dbec98a122528f6ff06
parent4e9d38fef0b64e000ea8d2e04e34ec656028c44e (diff)
embassy-embedded-hal: make time feature non-default
default features considered harmful.
-rwxr-xr-xci.sh2
-rw-r--r--embassy-embedded-hal/Cargo.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/ci.sh b/ci.sh
index 94f70aae8..f4db1da03 100755
--- a/ci.sh
+++ b/ci.sh
@@ -40,6 +40,8 @@ cargo batch \
40 --- build --release --manifest-path embassy-executor/Cargo.toml --target armv7r-none-eabihf --features arch-cortex-ar,executor-thread \ 40 --- build --release --manifest-path embassy-executor/Cargo.toml --target armv7r-none-eabihf --features arch-cortex-ar,executor-thread \
41 --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32 \ 41 --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32 \
42 --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,executor-thread \ 42 --- build --release --manifest-path embassy-executor/Cargo.toml --target riscv32imac-unknown-none-elf --features arch-riscv32,executor-thread \
43 --- build --release --manifest-path embassy-embedded-hal/Cargo.toml --target thumbv7em-none-eabi \
44 --- build --release --manifest-path embassy-embedded-hal/Cargo.toml --target thumbv7em-none-eabi --features time \
43 --- build --release --manifest-path embassy-sync/Cargo.toml --target thumbv6m-none-eabi --features defmt \ 45 --- build --release --manifest-path embassy-sync/Cargo.toml --target thumbv6m-none-eabi --features defmt \
44 --- build --release --manifest-path embassy-time/Cargo.toml --target thumbv6m-none-eabi --features defmt,defmt-timestamp-uptime,mock-driver \ 46 --- build --release --manifest-path embassy-time/Cargo.toml --target thumbv6m-none-eabi --features defmt,defmt-timestamp-uptime,mock-driver \
45 --- build --release --manifest-path embassy-time-queue-utils/Cargo.toml --target thumbv6m-none-eabi \ 47 --- 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"
19 19
20[features] 20[features]
21time = ["dep:embassy-time"] 21time = ["dep:embassy-time"]
22default = ["time"]
23 22
24[dependencies] 23[dependencies]
25embassy-hal-internal = { version = "0.3.0", path = "../embassy-hal-internal" } 24embassy-hal-internal = { version = "0.3.0", path = "../embassy-hal-internal" }