Documentation Index
Fetch the complete documentation index at: https://bedrockdynamics.studio/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Rust 1.92+ (pinned in
rust-toolchain.toml— the toolchain installs automatically) - Docker (required for simulation containers and database tests)
- Protobuf compiler (
protoc) for gRPC codegen
Clone and Build
Run Tests
Unit tests run without external services:roz-db, roz-server) require a Postgres instance:
Linting
Run all four checks before committing:.cargo/config.toml provides shortcuts:
| Alias | Command |
|---|---|
cargo c | cargo clippy |
cargo t | cargo test |
cargo b | cargo build |
cargo fmt-c | cargo fmt --check |
cargo dev | cargo build --profile fastdev |
Conventions
- Edition 2024 with Rust 1.92.0 minimum
unsafeis denied workspace-wide — this is a safety-critical robotics platform- Clippy pedantic + nursery enabled as warnings, denied in CI (
-D warnings) - Line width 120 chars (configured in
.rustfmt.toml) - Error handling via
thiserrorfor library crates,anyhowsparingly for binaries - All domain types live in
roz-corewithSerialize/Deserializederives
Build Profiles
Contributing Workflow
- Fork the repository and create a feature branch
- Make your changes following the conventions above
- Run
cargo fmt --check && cargo clippy --workspace -- -D warnings - Run
cargo test --workspace - Submit a pull request