Files
rust-workspace/README.md
T

726 B

Workspace Template

Make sure not to keep git history when copying this template

Various builds

  • build: cargo hack --feature-powerset build
  • clippy: cargo hack --feature-powerset clippy -- -D warnings
  • test: cargo hack --feature-powerset test
  • test old: cargo +1.85 hack --feature-powerset test
  • miri: cargo +nightly hack --feature-powerset miri test
  • example: cargo run --example=<example> --features=<req_features>
  • fmt: cargo fmt --check
  • docs: RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
  • install: cargo install --path <path>
  • semver: cargo semver-checks --all-features
  • publish: cargo publish --dry-run -p <crate>
  • publish: cargo publish --dry-run --workspace