.PHONY: fmt lint test build publish docs codecov
fmt:
cargo fmt
lint:
cargo +stable clippy
test:
cargo +stable check
cargo +stable test --example=example-shuttle --features shuttle
cargo +stable test --example=example-todo
cargo +stable test --example=example-websocket-ping-pong --features ws
cargo +stable test --example=example-websocket-chat --features ws
cargo +stable test --features all
cargo +stable test
cargo +1.83 check --features "pretty-assertions,yaml,msgpack,reqwest,typed-routing,ws"
cargo +nightly check --features all
cargo +stable check --no-default-features
cargo +stable check --features all
cargo +stable check --features pretty-assertions
cargo +stable check --features yaml
cargo +stable check --features msgpack
cargo +stable check --features reqwest
cargo +stable check --features shuttle
cargo +stable check --features typed-routing
cargo +stable check --features ws
cargo +stable check --features reqwest
cargo +stable check --features old-json-diff
cargo +stable clippy --features all
build:
cargo +stable build
publish: fmt lint test
cargo publish
docs:
cargo doc --open --features all
codecov:
cargo llvm-cov --open