1#![cfg_attr(
5 not(any(feature = "native-http", feature = "wasm-http")),
6 allow(dead_code, unused_imports)
7)]
8
9pub mod auth;
10#[cfg(any(feature = "native-http", feature = "wasm-http"))]
11pub mod bindings;
12pub mod client;
13pub mod cost;
14pub mod error;
15pub(crate) mod http;
16pub mod provider;
17#[cfg(test)]
18mod tests;
19#[cfg(feature = "tokenizer")]
20pub mod tokenizer;
21#[cfg(feature = "tower")]
22pub mod tower;
23pub mod types;
24
25pub use client::{
27 BatchClient, BoxFuture, BoxStream, ClientConfig, ClientConfigBuilder, FileClient, FileConfig, LlmClient,
28 LlmClientRaw, ResponseClient,
29};
30#[cfg(any(feature = "native-http", feature = "wasm-http"))]
32pub use client::DefaultClient;
33#[cfg(all(feature = "native-http", feature = "tower"))]
35pub use client::managed::ManagedClient;
36pub use error::{LiterLlmError, Result};
37pub use provider::custom::{
40 AuthHeaderFormat, CustomProviderConfig, register_custom_provider, unregister_custom_provider,
41};
42pub use provider::{ProviderConfig, all_providers, complex_provider_names};
43pub use types::*;