rstructor 0.3.1

The Rust equivalent of Python's Instructor + Pydantic. Extract structured, validated data from LLMs (OpenAI, Anthropic Claude, Grok, Gemini) into type-safe structs and enums, with automatic JSON Schema generation, parsing, and validation-with-retry.
Documentation

rstructor

There is very little structured metadata to build this page from currently. You should check the main library docs, readme, or Cargo.toml in case the author documented the features in them.

This version has 16 feature flags, 10 of them enabled by default.

default

anthropic (default)

derive (default)

gemini (default)

grok (default)

logging (default)

openai (default)

rstructor_derive (default)

tracing-futures (default)

tracing-subscriber (default)

async-stream

base64

futures-util

reqwest

streaming

tokio

tools