Files
leleka/control-plane/Cargo.toml
T
Pavlo RatushnyiandClaude Sonnet 5.5 c8601d0b2c feat(control-plane): runtime block selects the runtime backend; strata-next serves in front of leleka-inference
runtime.{address,token_env,tokenizer_dir,model,mode,max_context} are validated at load
(loopback only, credential from the environment and never printed, exclusive with
engine/native_model/mtp_pack/vision/gpu). serve spawns backend_worker over GrpcBackend.
The worker carries the runtime's output-token cap in WorkerStatus; a default budget never
exceeds it, an explicit request above it is refused. Request ids are UUIDs, as the
runtime contract requires.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-16 02:46:22 +02:00

48 lines
1.7 KiB
TOML

[package]
name = "strata-control"
version = "0.1.0"
edition = "2024"
rust-version = "1.99"
default-run = "strata-next"
[[bin]]
name = "strata-next"
path = "src/main.rs"
[dependencies]
axum = "0.8"
futures-core = "0.3"
hex = "0.4"
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"] }
serde_json = { version = "1", features = ["float_roundtrip"] }
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"
[build-dependencies]
cc = "1"
sha2 = "0.11"
[dev-dependencies]
leleka-backend-api = { path = "../crates/backend-api", features = ["scripted"] }
leleka-tokenizer = { path = "../crates/tokenizer" }
http-body-util = "0.1"