2022-11-21 05:44:04 -05:00
|
|
|
[package]
|
2023-01-13 16:10:40 -05:00
|
|
|
name = "lanzaboote_stub"
|
2023-05-18 13:03:42 -04:00
|
|
|
version = "0.3.0"
|
2022-11-21 05:44:04 -05:00
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
2023-04-14 09:08:46 -04:00
|
|
|
# For UEFI target
|
2023-04-29 16:32:04 -04:00
|
|
|
rust-version = "1.68"
|
2022-11-21 05:44:04 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2023-06-04 22:00:30 -04:00
|
|
|
uefi = { version = "0.23.0", default-features = false, features = [ "alloc", "global_allocator" ] }
|
|
|
|
uefi-services = { version = "0.20.0", default-features = false, features = [ "panic_handler", "logger" ] }
|
2023-02-26 21:01:48 -05:00
|
|
|
goblin = { version = "0.6.1", default-features = false, features = [ "pe64", "alloc" ]}
|
2023-05-21 22:56:28 -04:00
|
|
|
bitflags = "2.3.1"
|
2022-11-21 09:36:39 -05:00
|
|
|
|
2023-02-20 19:20:50 -05:00
|
|
|
# Even in debug builds, we don't enable the debug logs, because they generate a lot of spam from goblin.
|
2023-05-28 21:38:08 -04:00
|
|
|
log = { version = "0.4.18", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]}
|
2023-02-20 19:20:50 -05:00
|
|
|
|
2023-01-13 20:31:31 -05:00
|
|
|
# Use software implementation because the UEFI target seems to need it.
|
2023-05-22 17:28:59 -04:00
|
|
|
sha2 = { version = "0.10.6", default-features = false, features = ["force-soft"], optional = true }
|
2023-04-29 16:09:08 -04:00
|
|
|
# SHA1 for TPM TCG interface version 1.
|
|
|
|
sha1_smol = "1.0.0"
|
2022-11-27 19:37:16 -05:00
|
|
|
|
2023-05-22 17:28:59 -04:00
|
|
|
[features]
|
|
|
|
default = [ "thin" ]
|
|
|
|
thin = ["dep:sha2"]
|
|
|
|
fat = []
|
|
|
|
|
2022-11-22 09:53:24 -05:00
|
|
|
[profile.release]
|
|
|
|
opt-level = "s"
|
|
|
|
lto = true
|