New crate leleka-deploy (binary leleka): idempotent one-command deployment with preflight (driver, sm_120/sm_86, VRAM/RAM/disk, WSL2, cuBLAS 12, memfd), memory profiles, plan/dry-run, stamped asset steps, systemd unit, and a native supervisor that seals the KAR archive itself and hands it to the engine (no Python holder). leleka-inference gains --kar-archive-file for the low-RAM read-only archive form. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
38 lines
970 B
TOML
38 lines
970 B
TOML
[package]
|
|
name = "leleka-deploy"
|
|
version = "0.1.0"
|
|
description = "One-command deployment of the Leleka runtime: preflight, model assets, install, supervision and readiness (no Python)"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
name = "leleka_deploy"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "leleka"
|
|
path = "src/main.rs"
|
|
|
|
# Test double for the runtime programs; built only for the integration tests (`--features test-fakes`).
|
|
[[bin]]
|
|
name = "leleka-fake-runtime"
|
|
path = "src/bin/fake_runtime.rs"
|
|
required-features = ["test-fakes"]
|
|
|
|
[features]
|
|
test-fakes = []
|
|
|
|
[dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
sha2 = "0.11"
|
|
hex = "0.4"
|
|
tokio = { version = "1", features = ["rt", "macros", "process", "io-util", "time", "sync", "net", "signal", "fs"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
rustix = { version = "=1.1.5", features = ["fs", "process", "stdio"] }
|
|
|
|
[lints]
|
|
workspace = true
|