### Install Rust toolchain components Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Install the stable Rust toolchain and necessary components for formatting and linting. ```bash rustup toolchain install stable rustup component add rustfmt clippy ``` -------------------------------- ### Clone the repository Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Clone the project and navigate into the directory. ```bash git clone https://github.com/bedrock-crustaceans/bedrock-rs.git cd bedrock-rs ``` -------------------------------- ### Run full quality checks Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Execute formatting, type checking, linting, and tests across the entire workspace. ```bash cargo fmt --all cargo check --workspace cargo clippy --workspace --all-targets -- -D warnings cargo test --workspace ``` -------------------------------- ### Run quick local validation Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Perform a lightweight check of formatting and workspace compilation. ```bash cargo fmt --all -- --check cargo check --workspace ``` -------------------------------- ### Add bedrock-rs dependency Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/README.md Include the library in your Rust project by adding this entry to your Cargo.toml file. ```toml [dependencies] bedrock = { git = "https://github.com/bedrock-crustaceans/bedrock-rs.git", features = ["full"] } ``` -------------------------------- ### Validate feature-gated logic Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Verify code changes against all available feature flags. ```bash cargo check --all-features cargo test --all-features ``` -------------------------------- ### Validate specific crate Source: https://github.com/bedrock-crustaceans/bedrock-rs/blob/main/CONTRIBUTING.md Run tests for a specific package within the workspace. ```bash cargo test -p bedrock_protocol ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.