rust-library-performance-features
Installation
SKILL.md
Rust Library Performance Features
Use this skill when a Rust library needs performance work that can be measured and shipped behind clear Cargo feature boundaries.
Core Workflow
- Define the library operation and input sizes that matter to downstream users.
- Add or repair benchmarks before optimizing.
- Compare baseline and candidate implementations with the same harness.
- Use Cargo features for optional capabilities and dependencies.
- Test the feature matrix, including default features disabled.
- Document performance claims with scope and measurement commands.