Rust Workspace Architecture

Use when creating, structuring, or adding a crate/module to a Rust Cargo workspace (CLI, agent, or backend) — deciding workspace layout, when to make a new crate vs a module, dependency direction, error types, where tests live, snapshot/property tests, the test runner (nextest), smoke tests, clippy/rustfmt gates, or CI. Triggers — "new crate or module?", "set up the workspace", "where do integration tests go", "insta snapshot", "cargo nextest", "smoke test the binary", "thiserror vs anyhow", "workspace.dependencies".

oimiragieo Updated 45 repo stars

File contents

oimiragieo/gotcontext-saddle commit c93928f2b8

Frequently asked questions

npx get-skill add oimiragieo/rust-workspace-architecture