[package]
edition = "2021"
name = "af-llm"
version = "0.6.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unified async LLM client with timeout and circuit breaking for OpenAI-compatible endpoints."
homepage = "https://github.com/JingYeoh/agent-factory"
readme = "README.md"
keywords = [
"agent",
"llm",
"workflow",
"durable",
"platform",
]
categories = [
"asynchronous",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JingYeoh/agent-factory"
[lib]
name = "af_llm"
path = "src/lib.rs"
[[test]]
name = "stream_http"
path = "tests/stream_http.rs"
[[test]]
name = "types_error_coverage"
path = "tests/types_error_coverage.rs"
[dependencies.af-context]
version = "=0.6.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls",
"stream",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
]
[dependencies.tokio-util]
version = "0.7"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"signal",
"test-util",
"macros",
"rt",
]