nemo-relay-switchyard 0.7.2

First-party Switchyard Decision API routing plugin for NeMo Relay.
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"
name = "nemo-relay-switchyard"
version = "0.7.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "First-party Switchyard Decision API routing plugin for NeMo Relay."
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/NVIDIA/NeMo-Relay"
resolver = "2"

[features]
default = []
schema = [
    "dep:schemars",
    "nemo-relay/schema",
]

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

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

[dependencies.async-stream]
version = "0.3"

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

[dependencies.nemo-relay]
version = "0.7.2"
default-features = false

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls-native-roots",
]
default-features = false

[dependencies.schemars]
version = "0.8"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.switchyard-translation]
version = "0.1.0"

[dependencies.tokio]
version = "1"
features = ["time"]
default-features = false

[dependencies.uuid]
version = "=1.18.1"
features = ["v7"]

[dev-dependencies.axum]
version = "0.8"

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

[lints.clippy]
cognitive_complexity = "deny"

[lints.rust]
missing_docs = "deny"