.PHONY: fmt lint test build publish docs codecov
fmt:
cargo fmt
lint:
cargo +stable clippy
test:
cargo +stable check
cargo +stable test --example=todo
cargo +stable test --example=snapshots --features yaml
cargo +stable test --example=websocket-ping-pong --features ws
cargo +stable test --example=websocket-chat --features ws
cargo +stable test --features all
cargo +stable test
cargo +1.85 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 typed-routing
cargo +stable check --features ws
cargo +stable check --features reqwest
cargo +stable clippy --features all
test-all:
cargo +stable test --features all
test-doc:
cargo +stable test --features all --doc
build:
cargo +stable build
publish: fmt lint test
cargo publish
docs:
cargo doc --open --features all
codecov:
cargo llvm-cov --open