switchyard-runner 0.4.0

Configured routing execution for Switchyard serving surfaces
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.96.1"
name = "switchyard-runner"
version = "0.4.0"
authors = ["NVIDIA Corporation"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configured routing execution for Switchyard serving surfaces"
homepage = "https://github.com/NVIDIA-NeMo/Switchyard"
readme = false
license = "Apache-2.0"
repository = "https://github.com/NVIDIA-NeMo/Switchyard"

[features]
prefill-router = ["dep:prefill-router"]

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

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

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

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

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

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

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

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

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

[dependencies.libsy]
version = "0.4.0"
package = "switchyard-libsy"

[dependencies.prefill-router]
version = "0.4.0"
optional = true

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

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[dependencies.strum_macros]
version = "0.28"

[dependencies.switchyard-protocol]
version = "0.4.0"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "std",
]
default-features = false

[dev-dependencies.async-trait]
version = "0.1.92"

[dev-dependencies.futures-util]
version = "0.3"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.wiremock]
version = "0.6"

[target.'cfg(not(target_os = "wasi"))'.dependencies.parking_lot]
version = "0.12"

[target.'cfg(not(target_os = "wasi"))'.dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "rustls",
    "stream",
]
default-features = false

[target.'cfg(not(target_os = "wasi"))'.dependencies.switchyard-llm-client]
version = "0.4.0"