[package]
edition = "2024"
rust-version = "1.96.1"
name = "switchyard-libsy"
version = "0.2.0"
authors = ["NVIDIA Corporation"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provider-neutral multi-LLM routing and orchestration for Switchyard"
homepage = "https://github.com/NVIDIA-NeMo/Switchyard"
readme = "README.md"
keywords = [
"llm",
"routing",
"orchestration",
"openai",
"anthropic",
]
categories = [
"asynchronous",
"web-programming",
]
license = "Apache-2.0"
repository = "https://github.com/NVIDIA-NeMo/Switchyard"
[lib]
name = "switchyard_libsy"
path = "src/lib.rs"
[[test]]
name = "observability"
path = "tests/observability.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "0.3"
[dependencies.jsonptr]
version = "0.8.1"
features = [
"std",
"json",
"resolve",
]
default-features = false
[dependencies.jsonschema]
version = "0.49.4"
default-features = false
[dependencies.opentelemetry]
version = "0.32"
features = ["metrics"]
default-features = false
[dependencies.parking_lot]
version = "0.12"
[dependencies.rand]
version = "0.10"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.switchyard-protocol]
version = "0.2.0"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tracing]
version = "0.1"
features = [
"attributes",
"std",
]
default-features = false
[dependencies.tracing-opentelemetry]
version = "0.33"
[dev-dependencies.opentelemetry_sdk]
version = "0.32"
features = [
"metrics",
"testing",
"trace",
]
[dev-dependencies.switchyard-llm-client]
version = "0.2.0"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tracing-subscriber]
version = "0.3"