Files
leleka/crates/deploy/Cargo.toml
T
Pavlo RatushnyiandClaude Sonnet 5.5 449b7a1784 deploy: CPU workers never exceed the physical cores but the host's (Windows)
The workstation preset counted logical processors: 12 workers on the 8-core laptop, 5 spinning unpinned. Now 7 (as vanilla).
The 16-core server stays at 15.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-27 20:13:10 +01:00

47 lines
1.5 KiB
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"
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"