help:
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
test:
@cargo test --release --features=alloc,serde
@cargo test --release --no-default-features --features=serde
test-no-std:
@cargo test --release --features=rkyv-impl,alloc --no-run
@cargo build --release --no-default-features --features serde --target wasm32-unknown-unknown
no-std:
@rustup target add thumbv6m-none-eabi
@cargo build --release --no-default-features --target thumbv6m-none-eabi
@cargo build --release --no-default-features --features alloc --target thumbv6m-none-eabi
clippy:
@cargo clippy --release --features=alloc,serde -- -D warnings
@cargo clippy --release --no-default-features -- -D warnings
.PHONY: help test test-no-std no-std clippy