Files
stambha/crates/stela-cli/Cargo.toml
T
Garvit Surana e7b14d5887 feat(cli): name the setup tool stambha, with Stambha in its help, --version, examples, prompts, progress and errors, where every one said stela or Stela
The [[bin]] is stambha, xtask dist prints target/release/stambha, and the
release workflow packages, version-checks and names stambha-v* archives;
its INSTALL notes say ./stambha. --version prints "Stambha 0.5.0" through
clap's display_name. A binary renamed back to stela still runs: clap reads
nothing from argv[0].

On-stick names stay as they were: the STELA volume label, \EFI\stela\,
stela.efi, stela.cfg, the per-user stela cache and Stela temp folder, the
archive comments, the boot log's "Stela boot log: N boots" header and the
mount interface's own message.
2026-11-22 22:26:46 +00:00

93 lines
3.1 KiB
TOML

[package]
name = "stela-cli"
version.workspace = true
edition.workspace = true
license.workspace = true
# Stela's source here is GPL-2.0-or-later. The `stambha` binary links Apache-2.0
# crates and no GPL-2.0-only code, so it is distributed as a whole under
# GPL-3.0-or-later (NOTICE).
description = "The stambha command: prepares the USB installer that boots macOS on a PC through Stambha"
repository.workspace = true
rust-version.workspace = true
publish = false
[[bin]]
name = "stambha"
path = "src/main.rs"
[features]
# The AMD GPU port's firmware on the sticks `stela` makes, for a boot image
# built with amdgpu (`cargo xtask boot build --amdgpu` or `--radv`); a
# release leaves both out.
amdgpu-port = ["stela-loader/amdgpu-port"]
# Set only by `--all-features` gates (`cargo xtask check`), whose feature
# unification gives stela-soc its `trackpad` here; it lifts the build's
# refusal of a stela-soc with the GPL-2.0-only trackpad (src/lib.rs). A
# shipped CLI (`xtask dist`, `-p stela-cli`) never sets it.
workspace-check = []
[dependencies]
stela-gpu-maintenance.workspace = true
stela-soc-data = { path = "../stela-soc-data", default-features = false }
stela-engine = { path = "../stela-engine" }
stela-contracts = { path = "../stela-contracts" }
stela-formats = { path = "../stela-formats", default-features = false }
anyhow.workspace = true
clap.workspace = true
serde = { workspace = true, features = ["std"] }
serde_json.workspace = true
sha2.workspace = true
hex.workspace = true
tempfile.workspace = true
stela-drivers.workspace = true
stela-boot-core.workspace = true
stela-soc.workspace = true
stela-runtime.workspace = true
stela-loader.workspace = true
aes = "0.8"
base64 = "0.22"
ctr = "0.9"
getrandom = "0.2"
hkdf = "0.12"
hmac = "0.12"
hpke ={ version = "0.13", default-features = false, features = ["alloc", "p256"] }
p256 = { version = "0.13", features = ["pkcs8", "pem"] }
plist = "1"
zeroize = "1"
libc.workspace = true
sha1 = "0.10"
crc32fast = "1"
miniz_oxide = { version = "0.9", default-features = false, features = ["with-alloc"] }
ruzstd = "0.8"
zip = { version = "4", default-features = false, features = ["deflate"] }
cliclack = "0.5"
indicatif = "0.18"
console = "0.16"
# HTTPS through the operating system's TLS and trust store on Windows
# (SChannel) and macOS (Security.framework), and through rustls with the
# webpki roots elsewhere.
[target.'cfg(any(windows, target_os = "macos"))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "native-tls"] }
[target.'cfg(not(any(windows, target_os = "macos")))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls"] }
# Setup's disk backend on Windows: storage and volume control codes.
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.61", features = [
"Win32_Devices_DeviceAndDriverInstallation",
"Win32_Foundation",
"Win32_Globalization",
"Win32_Storage_FileSystem",
"Win32_System_Console",
"Win32_System_IO",
"Win32_System_Ioctl",
"Win32_System_SystemInformation",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
] }
[lints]
workspace = true