lanzaboote/rust/stub/Cargo.toml

24 lines
877 B
TOML
Raw Normal View History

2022-11-21 05:44:04 -05:00
[package]
name = "lanzaboote_stub"
2022-11-21 05:44:04 -05:00
version = "0.1.0"
edition = "2021"
publish = false
# For UEFI target
rust-version = "1.68"
2022-11-21 05:44:04 -05:00
[dependencies]
uefi = { version = "0.20.0", default-features = false, features = [ "alloc", "global_allocator" ] }
uefi-services = { version = "0.17.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" ]}
bitflags = "2.2.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.
log = { version = "0.4.17", default-features = false, features = [ "max_level_info", "release_max_level_warn" ]}
# Use software implementation because the UEFI target seems to need it.
sha2 = { version = "0.10.6", default-features = false, features = ["force-soft"] }
2022-11-22 09:53:24 -05:00
[profile.release]
opt-level = "s"
lto = true