Sources and attribution¶
This repository is independently authored guidance, not a copy of the materials below. The links inform the intent of individual rules; the linked sources retain their own copyright, licensing, stability and maintenance status.
| Source | Role in this draft |
|---|---|
| JetBrains: How to Use AI for Rust Development (2026) | Interview-derived ideas for risk-weighted review, agent briefs and selective behavior/unsafe verification; RCS wording and examples are independently written |
| The Rust Style Guide | Formatting principles; use the default rustfmt style |
| Rust API Guidelines checklist | Naming, predictable public API design, useful newtypes, documentation and error types |
| Google Rust Style Guide | Selective comparison for practical application APIs, borrowing, justified abstractions and clear control flow; RCS prose/examples are independently written, and Chromium/Fuchsia-specific rules are not adopted |
| The Rust Programming Language | Idiomatic ownership, errors, testing and application-level explanations |
| Clippy documentation | Mechanical diagnostics and selectable lint categories |
| Cargo Book | Workspace/toolchain/dependency workflow context |
| Standard checked integer arithmetic | Bounded arithmetic when overflow is invalid |
TryFrom conversions | Fallible, lossless numeric and type conversions |
OpenOptions::create_new | Atomic exclusive file creation within a larger application safety contract |
Rust Read | Streaming/bounded input observations |
| SQLite transaction control | Atomic writes and writer reservation |
| SQLite PRAGMAs and schema table | Live recovered schema and foreign-key integrity |
Rust std::path | Native pathname representation and components |
Rust Command and Child | Structured process execution and process lifecycle |
| Rust atomic types | Explicit shared-memory synchronization primitives |
| Rust 2024 formatting style edition | Keep Cargo, editor and CI formatting aligned |
| Cargo testing | Actual test targets and feature invocation |
| Safety-Critical Rust Consortium | Research reference for stronger assurance when justified |
| Consortium coding guidelines | Emerging/draft suggestions to evaluate case-by-case, not automatically adopted standards |
Rustacean mascot inspiration and original artwork¶
Ferris the Crab is the unofficial Rust mascot created by Karen Rustad Tölva. The website publishes a copyright waiver for Ferris artwork. We use Ferris as a cultural reference only: the hexagonal crab mark in this repository was drawn independently, not copied from Ferris's offered SVG/PNG files. No sponsorship or endorsement by the Rust Project or mascot artist is implied.
The original crab SVG is Copyright (c) 2026 Peder Klockmann (Zevarix), licensed MIT OR Apache-2.0 alongside the rulebook and tools. The separate Forge CSS and custom homepage visual theme remain all rights reserved; see Licensing and reuse. Review rights, private information and source provenance before choosing a publication channel. See the public-readiness checklist.
Source handling¶
- Link to upstream explanations rather than reproducing their prose or examples verbatim.
- Mark independently authored rules as our own; don't call them official Rust policy.
- An upstream checklist item does not imply universal applicability to application internals. Consider whether the source describes public libraries, formatting, tooling or a specific assurance domain.
- Before public release, verify the selected licenses and exceptions against included material, and perform a private-information and provenance check.
- Upstream links can change. Review cited upstream semantics when materially revising a rule; do not silently import new upstream requirements.
Redistribution review¶
Original RCS documentation, tools and the Forge crab SVG are MIT OR Apache-2.0; the Forge CSS and homepage theme remain rights reserved. Preserve these boundaries when redistributing material. Review included assets and third-party sources, and avoid pasted guideline text or examples without verified redistribution rights.