Rust Performance & Safety Patterns

Community

Zero-copy Rust patterns for parsing SSTables.

Authorpmcfadin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill shares proven Rust patterns for high-performance, memory-efficient SSTable parsing—emphasizing zero-copy deserialization, safe lifetimes, and async I/O with Tokio.

Core Features & Use Cases

  • Zero-copy deserialization using Bytes to avoid unnecessary allocations.
  • Lifetime and borrowing patterns for safe, borrow-checked parsing of large buffers.
  • Async I/O patterns (Tokio) and CPU-bound work offloaded via spawn_blocking.
  • Memory-conscious parsing designed to meet the <128MB target.
  • Safe handling of unsafe blocks with clear safety wrappers.

Quick Start

Start applying zero-copy parsing patterns by wrapping buffers with Bytes, slicing for substructures, and streaming data instead of loading everything into memory.

Dependency Matrix

Required Modules

None required

Components

Standard package

đź’» Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Rust Performance & Safety Patterns
Download link: https://github.com/pmcfadin/cqlite/archive/main.zip#rust-performance-safety-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.