[package]
name = "llmleaf-client"
version = "0.2.5"
edition = "2021"
rust-version = "1.74"
description = "Official Rust client SDK for the llmleaf LLM proxy (OpenAI/OpenRouter-shaped JSON over HTTP)."
authors = ["Fionn Langhans <fionnlanghans@codefionn.eu>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/codefionn/llmleaf"
readme = "README.md"
keywords = ["llmleaf", "llm", "openai", "client", "proxy"]
categories = ["api-bindings", "web-programming::http-client"]
[workspace]
[dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"json",
"stream",
"multipart",
] }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
futures = "0.3"
thiserror = "2"
bytes = "1"
base64 = "0.22"
prost = "0.13"
[build-dependencies]
prost-build = "0.13"
[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
[[example]]
name = "basic"
path = "examples/basic.rs"