64 lines
2.6 KiB
TOML
64 lines
2.6 KiB
TOML
[package]
|
|
name = "leleka-control-plane"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
rust-version = "1.99"
|
|
license = "MIT"
|
|
default-run = "leleka-api"
|
|
|
|
[[bin]]
|
|
name = "leleka-api"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
axum = "0.8"
|
|
futures-core = "0.3"
|
|
hex = "0.4"
|
|
leleka-gguf = { path = "../crates/gguf" }
|
|
leleka-gateway-domain = { path = "../crates/gateway-domain" }
|
|
leleka-gateway-text = { path = "../crates/gateway-text" }
|
|
leleka-worker-protocol = { path = "../crates/worker-protocol" }
|
|
leleka-obs = { path = "../crates/obs" }
|
|
leleka-kar-codec = { path = "../crates/kar-codec" }
|
|
leleka-harmony = { path = "../crates/harmony" }
|
|
leleka-backend-api = { path = "../crates/backend-api" }
|
|
leleka-runtime-client = { path = "../crates/runtime-client" }
|
|
leleka-tokenizer = { path = "../crates/tokenizer" }
|
|
leleka-sampler-ref = { path = "../crates/sampler-ref" }
|
|
leleka-serving-policy = { path = "../crates/serving-policy" }
|
|
leleka-model-format = { path = "../crates/model-format" }
|
|
leleka-offline-tools = { path = "../crates/offline-tools" }
|
|
leleka-quant-core = { path = "../crates/quant-core" }
|
|
http-body = "1"
|
|
jsonschema = { version = "0.58.4", default-features = false }
|
|
libc = "0.2"
|
|
minijinja = { version = "=2.24.0", default-features = false, features = ["builtins", "macros", "multi_template", "adjacent_loop_items", "serde", "preserve_order", "loop_controls"] }
|
|
minijinja-contrib = { version = "=2.24.0", default-features = false, features = ["pycompat"] }
|
|
reqwest = { version = "0.13.5", default-features = false, features = ["rustls"] }
|
|
regex = "1.13.1"
|
|
regex-syntax = "0.8.11"
|
|
serde = { version = "1", features = ["derive"] }
|
|
# `preserve_order`: tool-call arguments, tool schemas, text.format schemas and MCP result blocks reach the model in the order the
|
|
# client (or the model) wrote them, as in the Python Original. leleka-harmony enables it too; it is declared here so this crate
|
|
# does not depend on that. Where sorted keys are wanted they are built explicitly (src/json_order.rs).
|
|
serde_json = { version = "1", features = ["float_roundtrip", "preserve_order"] }
|
|
sha2 = "0.11"
|
|
subtle = "2.6.1"
|
|
tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
webpki-root-certs = "1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
getrandom = "0.3"
|
|
windows-sys = { version = "0.61", features = ["Win32_Storage_FileSystem"] }
|
|
|
|
[build-dependencies]
|
|
cc = "1"
|
|
sha2 = "0.11"
|
|
|
|
[dev-dependencies]
|
|
leleka-backend-api = { path = "../crates/backend-api", features = ["scripted"] }
|
|
leleka-memory = { path = "../crates/leleka-memory" }
|
|
leleka-tokenizer = { path = "../crates/tokenizer" }
|
|
http-body-util = "0.1"
|