start removing alloc dependency

This commit is contained in:
Robin Mueller
2025-09-25 13:26:46 +02:00
committed by muellerr
parent f48267692c
commit b79d5d7de8
11 changed files with 277 additions and 252 deletions
+7 -7
View File
@@ -1,4 +1,4 @@
all: check build clippy fmt docs test coverage
all: check build embedded clippy fmt docs test coverage
clippy:
cargo clippy -- -D warnings
@@ -7,25 +7,25 @@ fmt:
cargo fmt --all -- --check
check:
cargo check --all-features
cargo check --features "serde, defmt"
test:
cargo nextest r --all-features
cargo nextest r --features "serde, defmt"
cargo test --doc
build:
cargo build --all-features
cargo build --features "serde, defmt"
embedded:
cargo build --target thumbv7em-none-eabihf --no-default-features --features "alloc"
cargo build --target thumbv7em-none-eabihf --no-default-features --features "defmt, packet-buf-1k"
docs:
export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options"
cargo +nightly doc --all-features
cargo +nightly doc --features "serde, defmt"
docs-html:
export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options"
cargo +nightly doc --all-features --open
cargo +nightly doc --features "serde, defmt" --open
coverage:
cargo llvm-cov nextest