Skip to main content
Back to Projects

Claude Code Rust SDK

A lean async Rust SDK that runs the Claude Code CLI as a subprocess.

RustClaudeSDK

Overview

A type-safe async Rust SDK that drives the Claude Code CLI as a subprocess, letting Rust applications run Claude Code sessions on a flat-rate subscription instead of API credits.

Technical Stack

Key Features

Project Outcomes

Response schema ground-truthed against captured CLI responses, with a two-direction drift canary
Schema drift
A dedicated credential-isolation module that prevents OAuth self-revocation
Credential isolation
50 test-function declarations across 8 files (declaration count, not a pass/fail run)
Tests