start removing alloc dependency
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user