lib-client-openrouter 0.1.0

OpenRouter API client library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! OpenRouter API client library.
//!
//! A type-safe, async client for the OpenRouter API.
//! OpenRouter provides access to multiple AI models through a unified OpenAI-compatible API.

mod auth;
mod client;
mod error;
mod types;

pub use auth::{ApiKeyAuth, AuthStrategy};
pub use client::{Client, ClientBuilder};
pub use error::{OpenRouterError, Result};
pub use types::*;