skills/modelscope.cn/rust-style-conventions

rust-style-conventions

Installation
SKILL.md

Rust Style Conventions

Universal Rust style conventions for consistent, readable production code

Applicability

This skill applies automatically to ALL Rust code. All other Rust skills (rust-core-patterns, axum-web-framework, rust-async-runtime, etc.) inherit these conventions.

Import Style (MANDATORY)

All use imports MUST be at the top of files. Never use inline paths.

The Rule

Import types and functions at the top of the file, then use the imported names in code.

Incorrect (Inline Paths)

Installs
1
First Seen
Sep 29, 2026