terraphim_router 1.16.9

Unified routing engine for LLM and Agent providers
Documentation
[package]
name = "terraphim_router"
version = "1.16.9"
edition = "2021"
authors = ["Terraphim Team"]
description = "Unified routing engine for LLM and Agent providers"
license = "Apache-2.0"
repository = "https://github.com/terraphim/terraphim-ai"

[dependencies]
# Terraphim internal crates
terraphim_types = { path = "../terraphim_types", version = "1.0.0" }

# Core dependencies
serde = { workspace = true, features = ["derive"] }

serde_yaml = "0.9"
thiserror = { workspace = true }

tracing = { workspace = true }

chrono = { workspace = true, features = ["serde"] }

tokio = { workspace = true, features = ["full"] }

async-trait = { workspace = true }

uuid = { workspace = true, features = ["v4", "serde"] }

dirs = "5.0"

# Optional persistence support
[dependencies.terraphim_persistence]
path = "../terraphim_persistence"
version = "1.0.0"
optional = true

# Optional file-watching support
[dependencies.notify]
version = "6.1"
optional = true

[features]
default = []
persistence = ["dep:terraphim_persistence"]
file-watch = ["dep:notify"]

[dev-dependencies]
tokio-test = "0.4"
tempfile = { workspace = true }

tracing-test = "0.2"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
serial_test = "3.2"
criterion = "0.8"
proptest = "1.4"
terraphim_persistence = { path = "../terraphim_persistence" }
terraphim_spawner = { path = "../terraphim_spawner" }

[[bench]]
name = "routing_bench"
harness = false