Eight files conflicted; every resolution keeps both sides. - gpu_status.rs (9 hunks), host_memory.rs, engine/gpu/before.rs, stela-driver-gpu lib.rs: gpu/intel's GPU-generic screen text (the GPU by its name, the drivers this build has, shown_by_copy(gpu)) in the fork's brand: Stambha and `stambha repair` where gpu/intel's words said Stela. - storage.rs: gpu/intel's memory-plan census (plan_gpu_memory, gpu_census, gpu_plan) and the fork's census_pci, drawn_by_other and Install caution. drawn_by_other goes through H1's GpuStack::drawing (select, then draws), built on gpu/intel's admits, and answers the adapter with its revision too, for the HOST GPU line's market name. - xe.rs: gpu/intel's admission (a GuC image and ANV opening the device); host_firmware.rs: gpu/intel's MAX_IMAGES 512 beside the 1 MiB manifest both sides have; bundle/tests.rs: gpu/intel's amdgpu, xe and i915 selection tests (the fork's Raphael-only family test is for recipes this branch replaced). Merged clean, fixed after the build: the fork's lost-device dump (059d63ddf) read a render pipeline's bicubic variants as 3-tuples; gpu/intel'sf8b623bd7gave them a topology class, so they are 4-tuples. gpu/intel's other screen lines that said Stela (amd_metal's refusals, selection's backend line) and gpu_step's and host_memory's expected text now say Stambha. The memory plan is as before (only its refusal's name changed). Interface unchanged: bundle schema 4, OPTIONS_REVISION 13. Mesa patch 0043 (each shader's program header and code) comes with fork/next.
96 lines
3.3 KiB
TOML
96 lines
3.3 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 and Intel GPU ports' firmware on the sticks `stela` makes, as the
|
|
# boot image `cargo xtask boot build` makes holds amdgpu, xe and i915 outside
|
|
# a release. The release workflow builds `stela` without default features and
|
|
# its image without the ports (`.github/workflows/release.yml`).
|
|
default = ["amdgpu-port", "intel-port"]
|
|
amdgpu-port = ["stela-loader/amdgpu-port"]
|
|
intel-port = ["stela-loader/xe-port", "stela-loader/i915-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
|