rai-sdk 0.2.0

Rust AI SDK — unified client for OpenAI, Anthropic, and OpenRouter with typed models, structured output, tool calling, and streaming
Documentation

rai-sdk

There is currently very little information to present on this page because Docs.rs has only limited support for extracting structured feature metadata from Cargo crates. This issue is tracked in Rust RFC #3416. Check this library's main docs, readme, and Cargo.toml in case its authors have documentation for features available there instead.

This version has 5 feature flags, 4 of them enabled by default.

default

anthropic (default)

This feature flag does not enable additional features.

openai (default)

This feature flag does not enable additional features.

openrouter (default)

This feature flag does not enable additional features.

rustls-tls (default)

native-tls