liter-llm 2.0.0

Universal LLM API client — 165 providers, streaming, tool calling. Rust-powered, type-safe, compiled.
Documentation
1
2
3
4
5
6
7
8
9
10
/// Install the ring crypto provider before any test in this process runs.
///
/// rustls 0.23+ requires an explicit provider. `ctor` runs this before
/// `main`, so every test binary gets the provider installed before any
/// `reqwest::Client` is constructed.
#[cfg(feature = "native-http")]
#[ctor::ctor(unsafe)]
fn init_crypto() {
    liter_llm::ensure_crypto_provider();
}