Skip to content
Back to skills

Rust Library Performance Features

ASecurity

Optimize Rust libraries with criterion benchmarks, feature-flag matrices, cargo bench workflows, dependency gating, regression baselines, and evidence-driven API performance tradeoffs. Use when adding or reviewing Rust library benchmarks, cargo features, optional dependencies, or performance claims before publishing.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
ai-agentsrustgotestinggitapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add thedixitjain/the-mega-skill-library --skill rust-library-performance-features --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rust Library Performance Features?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rust Library Performance Features
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thedixitjain-rust-library-performance-features/badge)](https://www.skillsdirectory.com/skills/thedixitjain-rust-library-performance-features)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rust-library-performance-features
description: "Optimize Rust libraries with criterion benchmarks, feature-flag matrices, cargo bench workflows, dependency gating, regression baselines, and evidence-driven API performance tradeoffs. Use when adding or reviewing Rust library benchmarks, cargo features, optional dependencies, or performance claims before publishing."
category: engineering-core
source_repo: hashgraph-online/awesome-codex-plugins
source_path: "plugins/LVTD-LLC/skills/skills/rust-library-performance-features/SKILL.md"
source_url: https://github.com/hashgraph-online/awesome-codex-plugins/blob/HEAD/plugins/LVTD-LLC/skills/skills/rust-library-performance-features/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

1. Define the library operation and input sizes that matter to downstream users.
2. Add or repair benchmarks before optimizing.
3. Compare baseline and candidate implementations with the same harness.
4. Use Cargo features for optional capabilities and dependencies.
5. Test the feature matrix, including default features disabled.
6. Document performance claims with scope and measurement commands.

## Read Next

| Task | Load |
|------|------|
| Add benchmarks or optimize a hot path | `guidelines.md`, `workflows/benchmark-feature-matrix.md` |
| Review Cargo features and optional dependencies | `references/performance-feature-patterns.md` |
| Validate performance claims before release | `references/performance-feature-patterns.md` |

## Source Notes

Guidance is transformed and paraphrased from Herbert Wolverson,
*Advanced Hands-On Rust*, especially Chapters 2 and 3 on creating, testing,
optimizing, benchmarking, and feature-gating a library. Examples are original
skeletons.

---

**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/LVTD-LLC/skills/skills/rust-library-performance-features/SKILL.md`

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml243 B
  • guidelines.md1.6 KB
  • references/performance-feature-patterns.md2.4 KB
  • workflows/benchmark-feature-matrix.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.