Contribution Guidelines
Contribution guidelines define how code and the Rust SME knowledge base stay healthy: PR templates, CODEOWNERS, CI gates, and when to update site/rust/ articles alongside behavior changes.
Busca en todas las páginas de la documentación
Contribution guidelines define how code and the Rust SME knowledge base stay healthy: PR templates, CODEOWNERS, CI gates, and when to update site/rust/ articles alongside behavior changes.
Quick-reference recipe card - copy-paste ready.
# CONTRIBUTING.md essentials
1. Fork/branch from `main`
2. `cargo fmt && cargo clippy -- -D warnings && cargo test`
3. PR description uses template (intent, risk, rollback)
4. Update docs if user-visible or on-call impact
5. SME site article update if fleet pattern changesWhen to reach for this:
# .github/pull_request_template.md
## Intent
## Risk (migration / unsafe / perf / security)
## Test evidence
## Rollback plan
## Docs
- [ ] rustdoc / README
- [ ] runbook
- [ ] SME site (link PR)# CODEOWNERS
/crates/orders-domain/ @bob @alice
/migrations/ @dba-team @bob
**/unsafe/ @security-rustUpdate site/rust/ when:
Do not duplicate service-specific secrets or SHAs in SME articles - use placeholders.
good-first-issue labels; MSRV and edition in README; CoC reference.
| Alternative | Use When | Don't Use When |
|---|---|---|
| Trunk-based all | Mature CI + flags | Learning Rust codebase |
| Fork PR only OSS | External contributors | Internal monorepo |
| Signed commits required | High security | Early startup friction |
Same guild as docs/adr maintainers; link manifest section owners.
Semver bump + changelog + migration guide in PR.
Auto-merge patch if CI green; minor needs owner review.
Fleet policy in CONTRIBUTING; cargo deny license check.
Private fork workflow; public SME update after release.
Stack versions: This page was written for Rust 1.97.0 (edition 2024), Tokio 1.x, Axum 0.8, serde 1.0, sqlx 0.8, clap 4, and Polars 0.46+.
Revisado por Chris St. John·Última actualización: 16 jul 2026