flyllm 0.4.1

A Rust library for unifying LLM backends as an abstraction layer with load balancing.
Documentation
[dependencies.async-trait]
version = "0.1.88"

[dependencies.axum]
features = ["tokio"]
optional = true
version = "0.8"

[dependencies.bytes]
version = "1.0"

[dependencies.env_logger]
version = "0.10"

[dependencies.futures]
version = "0.3.31"

[dependencies.json]
version = "0.12.4"

[dependencies.log]
version = "0.4"

[dependencies.metrics]
optional = true
version = "0.24"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.rand]
version = "0.9.1"

[dependencies.regex]
version = "1"

[dependencies.reqwest]
features = ["json", "stream"]
version = "0.12.15"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0.140"

[dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync"]
version = "1"

[dependencies.tokio-stream]
version = "0.1"

[dependencies.toml]
version = "0.8"

[dependencies.url]
version = "2.5.4"

[dev-dependencies.metrics-exporter-prometheus]
version = "0.16"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread", "sync"]
version = "1"

[[example]]
name = "config_file"
path = "examples/config_file.rs"

[[example]]
name = "metrics"
path = "examples/metrics.rs"

[[example]]
name = "task_routing"
path = "examples/task_routing.rs"

[features]
default = []
metrics = ["dep:metrics"]
metrics-server = ["metrics", "dep:axum"]

[lib]
name = "flyllm"
path = "src/lib.rs"

[package]
authors = ["Pablo Rodríguez <rodmarprogrammer@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "A Rust library for unifying LLM backends as an abstraction layer with load balancing."
edition = "2021"
keywords = ["llm", "ai", "openai", "anthropic", "load-balancing"]
license = "MIT"
name = "flyllm"
readme = "README.md"
repository = "https://github.com/rodmarkun/flyllm"
version = "0.4.1"

[[test]]
name = "config_tests"
path = "tests/config_tests.rs"

[[test]]
name = "manager_tests"
path = "tests/manager_tests.rs"

[[test]]
name = "metrics_tests"
path = "tests/metrics_tests.rs"

[[test]]
name = "provider_tests"
path = "tests/provider_tests.rs"

[[test]]
name = "strategy_tests"
path = "tests/strategy_tests.rs"

[[test]]
name = "task_tests"
path = "tests/task_tests.rs"