| 1 | all: test |
| 2 | |
| 3 | build: |
| 4 | @cargo build --all-features |
| 5 | |
| 6 | doc: |
| 7 | @cargo doc --all-features |
| 8 | |
| 9 | test: |
| 10 | @cargo test |
| 11 | |
| 12 | miri-test: |
| 13 | @MIRIFLAGS=-Zmiri-tag-raw-pointers cargo +nightly miri test |
| 14 | |
| 15 | format: |
| 16 | @rustup component add rustfmt 2> /dev/null |
| 17 | @cargo fmt --all |
| 18 | |
| 19 | format-check: |
| 20 | @rustup component add rustfmt 2> /dev/null |
| 21 | @cargo fmt --all -- --check |
| 22 | |
| 23 | lint: |
| 24 | @rustup component add clippy 2> /dev/null |
| 25 | @cargo clippy |
| 26 | |
| 27 | .PHONY: all doc test format format-check lint |