openrouter_api 0.6.0

A Rust client library for the OpenRouter API
Documentation
//! # OpenRouter API Client Library
//!
//! A Rust client for interfacing with the OpenRouter API.

pub mod api;
pub mod client;
pub mod error;
pub mod mcp; // Add the MCP module
pub mod models;
#[cfg(test)]
mod tests;
pub mod types;
pub mod utils;

pub use error::{Error, Result};
pub use types::*;

pub use client::{NoAuth, OpenRouterClient, Ready, Unconfigured};
pub use mcp::client::MCPClient; // Re-export MCPClient
pub use mcp::types as mcp_types; // Re-export MCP types

// Ensure TLS features are mutually exclusive
#[cfg(all(feature = "tls-rustls", feature = "tls-native-tls"))]
compile_error!(
    "TLS features tls-rustls and tls-native-tls are mutually exclusive. Please choose only one."
);