Files

64 lines
2.4 KiB
TOML

[package]
name = "leleka-engine-host"
version = "0.1.0"
edition = "2024"
rust-version = "1.99"
license = "MIT"
[[bin]]
name = "strata-desktop"
path = "src/main.rs"
[dependencies]
leleka-backend-api = { path = "../crates/backend-api" }
leleka-engine-core = { path = "../crates/engine-core" }
leleka-obs = { path = "../crates/obs" }
leleka-runtime = { path = "../crates/leleka-runtime" }
leleka-runtime-client = { path = "../crates/runtime-client" }
leleka-sampler-ref = { path = "../crates/sampler-ref" }
leleka-serving-policy = { path = "../crates/serving-policy" }
leleka-gateway-text = { path = "../crates/gateway-text" }
serde = { version = "1", features = ["derive"] }
# `preserve_order`: the native adapter re-renders tool-call arguments in the order the client wrote them (as the Python Original
# and leleka-control-plane do). Without it a build of this crate alone sorted the keys while a build next to leleka-control-plane did not.
serde_json = { version = "1", features = ["preserve_order"] }
sysinfo = { version = "0.39.6", default-features = false, features = ["system"] }
tokio = { version = "1", features = ["rt", "macros", "process", "io-util", "time", "sync", "net", "signal", "fs"] }
axum = "0.8"
reqwest = { version = "0.13.5", default-features = false, features = ["stream"] }
futures-util = "0.3"
subtle = "2.6.1"
tonic = "0.14.6"
tonic-prost = "0.14.6"
prost = "0.14"
tokio-stream = { version = "0.1", features = ["net", "sync"] }
async-stream = "0.3"
tower = { version = "0.5", features = ["util"] }
uuid = { version = "1", features = ["v4"] }
sha2 = "0.11"
hex = "0.4"
jsonschema = { version = "=0.58.5", default-features = false }
[target.'cfg(target_os = "linux")'.dependencies]
rustix = { version = "=1.1.5", features = ["fs"] }
[dev-dependencies]
leleka-engine-fake = { path = "../crates/engine-fake" }
# The full chain test: the real API router in front of the real RuntimeServer and a scripted engine.
leleka-backend-api = { path = "../crates/backend-api", features = ["scripted"] }
leleka-control-plane = { path = "../control-plane" }
tokio = { version = "1", features = ["rt-multi-thread"] }
[features]
# Forwards leleka-runtime/sm86 (RTX 30-series companions of the sealed sm_120 PTX).
sm86 = ["leleka-runtime/sm86"]
[build-dependencies]
tonic-prost-build = "0.14.6"
protoc-bin-vendored = "3"
[[bin]]
name = "leleka-inference-evaluation"
path = "src/bin/leleka-inference-evaluation.rs"