forked from r-efi/r-efi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (52 loc) · 1.45 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[package]
name = "r-efi"
version = "4.1.0"
authors = [
"David Rheinsberg <david.rheinsberg@gmail.com>",
"Tom Gundersen <teg@jklm.no>",
]
categories = [
"embedded",
"hardware-support",
"no-std",
"os",
]
description = "UEFI Reference Specification Protocol Constants and Definitions"
edition = "2018"
homepage = "https://github.com/r-efi/r-efi/wiki"
keywords = [
"efi",
"uefi",
"boot",
"firmware",
"specification",
]
license = "MIT OR Apache-2.0 OR LGPL-2.1-or-later"
readme = "README.md"
repository = "https://github.com/r-efi/r-efi"
[dependencies]
# Required setup to build as part of rustc.
compiler_builtins = { version = '0.1.0', optional = true }
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
[features]
# No-op for backwards compatibility.
efiapi = []
# Maps to `native` for backwards compatibility.
examples = ['native']
# We feature-gate all native code, since it will not link correctly, unless you
# use a UEFI target configuration. To make `cargo test` work, we exclude all
# these from normal runs.
native = []
rustc-dep-of-std = ['compiler_builtins/rustc-dep-of-std', 'core']
[[example]]
name = "freestanding"
required-features = ["native"]
[[example]]
name = "gop-query"
required-features = ["native"]
[[example]]
name = "hello-world"
required-features = ["native"]
[[example]]
name = "uefi-cross-compile"
required-features = ["native"]