mirror of
https://github.com/edera-dev/sprout.git
synced 2026-11-04 18:42:21 +00:00
Keys that aren't part of the configuration were silently ignored, so a misspelled key like linux_initrd instead of linux-initrd, or menu_timeout instead of menu-timeout, quietly did nothing. Warn about each ignored key with its full path while loading the configuration. Also warn when an action or generator configures more than one kind, as only the first one found is used.
86 lines
1.6 KiB
TOML
86 lines
1.6 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/boot",
|
|
"crates/build",
|
|
"crates/config",
|
|
"crates/eficore",
|
|
"crates/bls",
|
|
"crates/parsing",
|
|
]
|
|
resolver = "3"
|
|
|
|
[workspace.package]
|
|
license = "Apache-2.0"
|
|
version = "0.0.29"
|
|
homepage = "https://sprout.edera.dev"
|
|
repository = "https://github.com/edera-dev/sprout"
|
|
edition = "2024"
|
|
|
|
[workspace.dependencies]
|
|
bitflags = "2.13.2"
|
|
log = "0.4.34"
|
|
spin = "0.12.3"
|
|
uefi-raw = "0.17.0"
|
|
|
|
[workspace.dependencies.anyhow]
|
|
version = "1.0.104"
|
|
default-features = false
|
|
|
|
[workspace.dependencies.hex]
|
|
version = "0.4.3"
|
|
default-features = false
|
|
features = ["alloc"]
|
|
|
|
[workspace.dependencies.jaarg]
|
|
version = "0.2.2"
|
|
default-features = false
|
|
features = ["alloc"]
|
|
|
|
[workspace.dependencies.serde]
|
|
version = "1.0.229"
|
|
default-features = false
|
|
features = ["alloc", "derive"]
|
|
|
|
[workspace.dependencies.serde_ignored]
|
|
version = "0.1.14"
|
|
default-features = false
|
|
|
|
[workspace.dependencies.sha2]
|
|
version = "0.11.0"
|
|
default-features = false
|
|
|
|
[workspace.dependencies.shlex]
|
|
version = "2.0.1"
|
|
default-features = false
|
|
|
|
[workspace.dependencies.toml]
|
|
version = "1.1.6"
|
|
default-features = false
|
|
features = ["serde", "parse"]
|
|
|
|
[workspace.dependencies.uefi]
|
|
version = "0.41.0"
|
|
default-features = false
|
|
features = ["alloc", "global_allocator", "panic_handler"]
|
|
|
|
# Common build profiles
|
|
# NOTE: We have to compile everything for opt-level = 2 due to optimization passes
|
|
# which don't handle the UEFI target properly.
|
|
[profile.dev]
|
|
opt-level = 2
|
|
|
|
[profile.release]
|
|
lto = "thin"
|
|
strip = "symbols"
|
|
|
|
[profile.release-debuginfo]
|
|
inherits = "release"
|
|
strip = "none"
|
|
debug = 1
|
|
|
|
[profile.dev-fast]
|
|
inherits = "dev"
|
|
strip = "debuginfo"
|
|
debug = 0
|
|
opt-level = 2
|