-
-
Notifications
You must be signed in to change notification settings - Fork 169
/
Copy pathCargo.toml
40 lines (37 loc) · 1.25 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[package]
name = "uefi"
version = "0.21.0"
authors = ["The Rust OSDev team"]
readme = "README.md"
edition = "2021"
description = "Safe and easy-to-use wrapper for building UEFI apps."
repository = "https://github.com/rust-osdev/uefi-rs"
keywords = ["uefi", "efi"]
categories = ["embedded", "no-std", "api-bindings"]
license = "MPL-2.0"
rust-version = "1.68"
[features]
default = ["panic-on-logger-errors", "draw_target"]
alloc = []
global_allocator = []
logger = []
# Ignore text output errors in logger as a workaround for firmware issues that
# were observed on the VirtualBox UEFI implementation (see uefi-rs#121).
# In those cases, this feature can be excluded by removing the default features.
panic-on-logger-errors = []
# DrawTarget for GOP protocol
draw_target = ["embedded-graphics-core"]
# Generic gate to code that uses unstable features of Rust. You usually need a nightly toolchain.
unstable = []
[dependencies]
bitflags = "2.0.0"
embedded-graphics-core = { version = "0.4.0", optional = true }
log = { version = "0.4.5", default-features = false }
ptr_meta = { version = "0.2.0", default-features = false }
ucs2 = "0.3.2"
uefi-macros = "0.12.0"
uefi-raw = "0.1.0"
uguid = "2.0.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]