2022-11-21 04:44:04 -06:00
|
|
|
[package]
|
2023-01-13 15:10:40 -06:00
|
|
|
name = "lanzaboote_stub"
|
2023-05-18 12:03:42 -05:00
|
|
|
version = "0.3.0"
|
2022-11-21 04:44:04 -06:00
|
|
|
edition = "2021"
|
|
|
|
publish = false
|
2023-04-14 08:08:46 -05:00
|
|
|
# For UEFI target
|
2023-04-29 15:32:04 -05:00
|
|
|
rust-version = "1.68"
|
2022-11-21 04:44:04 -06:00
|
|
|
|
|
|
|
[dependencies]
|
2023-05-18 11:32:51 -05:00
|
|
|
uefi = { version = "0.21.0", default-features = false, features = [ "alloc", "global_allocator" ] }
|
|
|
|
uefi-services = { version = "0.18.0", default-features = false, features = [ "panic_handler", "logger" ] }
|
2023-02-26 20:01:48 -06:00
|
|
|
goblin = { version = "0.6.1", default-features = false, features = [ "pe64", "alloc" ]}
|
2023-04-28 20:51:39 -05:00
|
|
|
bitflags = "2.2.1"
|
2022-11-21 08:36:39 -06:00
|
|
|
|
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.
|
|
|
|
log = { version = "0.4.17", 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.
|
|
|
|
sha2 = { version = "0.10.6", default-features = false, features = ["force-soft"] }
|
2023-04-29 15:09:08 -05:00
|
|
|
# SHA1 for TPM TCG interface version 1.
|
|
|
|
sha1_smol = "1.0.0"
|
2022-11-27 18:37:16 -06:00
|
|
|
|
2022-11-22 08:53:24 -06:00
|
|
|
[profile.release]
|
|
|
|
opt-level = "s"
|
|
|
|
lto = true
|