Skip to main content

In this article

Coding Standards/Rust/Rust

Coding Standards/Rust/Rust
FieldValue
Kindinstruction
Source.github/instructions/coding-standards/rust/rust.instructions.md
InvocationApplied automatically to **/*.rs
InteractiveNo

What it does

Rust code authoring conventions

When to use it

Apply these conventions to Rust crate configuration and .rs source files, including error handling, async work, observability, serialization, and public API documentation. Test code also follows the Rust test instructions for placement, fixtures, and mocking.

Example usage

Provide a concrete example that shows the asset in action, including representative input and the resulting output.