[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" leleka-model-format = { path = "../model-format" } 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"] } [target.'cfg(windows)'.dependencies] windows-sys = { version = "0.61.2", features = ["Win32_Foundation", "Win32_Security_Cryptography", "Win32_Storage_FileSystem", "Win32_System_Threading", "Win32_System_SystemInformation", "Win32_System_Console", "Win32_UI_WindowsAndMessaging"] } leleka-memory = { path = "../leleka-memory" } # The workspace forbids unsafe code; this crate denies it and lets exactly one module (`winsys`, Windows only) opt in. [lints.rust] unsafe_code = "deny" [lints.clippy] all = "warn"