Development

Build, test, lint, and contribute to behest.

Development

Build, test, lint, and contribute.

Prerequisites

  • Rust 1.85+ (MSRV)
  • cargo and rustfmt
  • Optional: Docker (for integration tests)

Build

cargo build --all-features

Test

cargo test --all-features --locked

Lint

cargo fmt --all --check
cargo clippy --all-targets --all-features --locked -- -D warnings

Docs

RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps --locked

Full quality gate

cargo fmt --all --check && \
cargo check --all-targets --all-features --locked && \
cargo clippy --all-targets --all-features --locked -- -D warnings && \
cargo test --all-features --locked && \
RUSTDOCFLAGS="-D warnings" cargo doc --all-features --no-deps --locked

Repository

See also

Related components

Edit this page on GitHub →