2022-11-21 04:44:04 -06:00
|
|
|
[package]
|
2023-01-13 15:10:40 -06:00
|
|
|
name = "lanzaboote_stub"
|
2023-09-13 10:38:17 -05:00
|
|
|
version.workspace = true
|
2022-11-21 04:44:04 -06:00
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
|
|
|
|
|
|
|
[dependencies]
|
2023-10-12 05:12:34 -05:00
|
|
|
uefi = { version = "0.25.0", default-features = false, features = [ "alloc", "global_allocator" ] }
|
|
|
|
uefi-services = { version = "0.22.0", default-features = false, features = [ "panic_handler", "logger" ] }
|
2023-02-20 18:20:50 -06:00
|
|
|
# Even in debug builds, we don't enable the debug logs, because they generate a lot of spam from goblin.
|
2023-07-19 17:04:11 -05:00
|
|
|
log = { version = "0.4.19", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]}
|
2023-01-13 19:31:31 -06:00
|
|
|
# Use software implementation because the UEFI target seems to need it.
|
2023-07-19 17:04:11 -05:00
|
|
|
sha2 = { version = "0.10.7", default-features = false, features = ["force-soft"], optional = true }
|
2023-07-23 11:46:47 -05:00
|
|
|
# Our linux-bootloader crate containing most of what we need
|
|
|
|
linux-bootloader = { path = "../linux-bootloader" }
|
2022-11-27 18:37:16 -06:00
|
|
|
|
2023-05-22 16:28:59 -05:00
|
|
|
[features]
|
|
|
|
default = [ "thin" ]
|
|
|
|
thin = ["dep:sha2"]
|
|
|
|
fat = []
|