llmprism 0.4.0

A unified, fluent Rust interface for integrating Large Language Model providers -- a Rust port of the PHP Prism library.
Documentation
//! Concrete [`Provider`](crate::Provider) implementations. Each one lives behind
//! its own Cargo feature flag (see the crate root docs for the full list), so
//! enabling `openai` is what makes `openai::OpenAiProvider` available, and so
//! on (not linked here since each submodule -- and therefore its types --
//! only exists once its own feature is enabled, which isn't guaranteed just
//! because this module itself compiles). Most applications don't construct
//! these directly -- prefer [`Registry::from_env`](crate::Registry::from_env),
//! which does it for you based on which environment variables are set.

#[cfg(feature = "openai")]
pub mod openai;

#[cfg(feature = "anthropic")]
pub mod anthropic;

#[cfg(any(
    feature = "groq",
    feature = "deepseek",
    feature = "mistral",
    feature = "xai",
    feature = "openrouter",
    feature = "perplexity",
    feature = "zai",
))]
pub mod openai_compatible;

#[cfg(feature = "ollama")]
pub mod ollama;

#[cfg(feature = "voyageai")]
pub mod voyageai;

#[cfg(feature = "elevenlabs")]
pub mod elevenlabs;

#[cfg(feature = "gemini")]
pub mod gemini;