[package]
name = "kei-router"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
description = "Routing primitives: (1) NL query → tool-call (LBM port). (2) Multi-provider LLM abstraction (Anthropic / OpenAI / Kimi)."
authors.workspace = true
license.workspace = true

[[bin]]
name = "kei-router"
path = "src/main.rs"

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

[dependencies]
regex = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
anyhow = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
# LLM provider abstraction (v0.40 Wave 32)
reqwest = { workspace = true }
tokio = { workspace = true }
bytes = { workspace = true }
futures = { workspace = true }
async-trait = { workspace = true }
async-stream = "0.3"
# W55 Stage 4 — universal model registry lookup (replaces hardcoded DEFAULT_MODEL)
kei-model = { path = "../kei-model" }

[dev-dependencies]
tempfile = { workspace = true }
wiremock = { workspace = true }
tokio = { workspace = true }
