rstructor
v0.6.0 GrowingGet structured, validated data out of LLMs as native Rust structs and enums. Derive a type and rstructor generates the JSON Schema, prompts the model, parses the reply, and retries on validation errors โ across OpenAI, Anthropic Claude, Google Gemini, and xAI Grok. The Rust answer to Python's Pydantic + Instructor.
Quick Verdict
- โActively maintained (updated 65d ago)
- !Pre-1.0: API may have breaking changes
- โPermissive license (MIT)
Security
Deep Insights
997 downloads in the last 30 days, down 66% from the previous period. May indicate migration to alternatives.
Despite being 1+ years old, rstructor hasn't reached 1.0 yet. Expect potential API changes between versions.
Notable dependents include cmt, reasonkit-core, summera. When high-quality crates choose rstructor, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on rstructor
Version Adoption
Release Timeline
Feature Flags
default =["derive", "all-providers"]