| 1 |
[package] |
| 2 |
name = "r-efi" |
| 3 |
version = "5.3.0" |
| 4 |
|
| 5 |
categories = [ |
| 6 |
"embedded", |
| 7 |
"hardware-support", |
| 8 |
"no-std", |
| 9 |
"os", |
| 10 |
] |
| 11 |
description = "UEFI Reference Specification Protocol Constants and Definitions" |
| 12 |
edition = "2018" |
| 13 |
homepage = "https://github.com/r-efi/r-efi/wiki" |
| 14 |
keywords = [ |
| 15 |
"boot", |
| 16 |
"efi", |
| 17 |
"firmware", |
| 18 |
"specification", |
| 19 |
"uefi", |
| 20 |
] |
| 21 |
license = "MIT OR Apache-2.0 OR LGPL-2.1-or-later" |
| 22 |
readme = "README.md" |
| 23 |
repository = "https://github.com/r-efi/r-efi" |
| 24 |
rust-version = "1.68" |
| 25 |
|
| 26 |
[dependencies] |
| 27 |
# Required setup to build as part of rustc. |
| 28 |
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' } |
| 29 |
|
| 30 |
[features] |
| 31 |
# No-op for backwards compatibility. |
| 32 |
efiapi = [] |
| 33 |
# Maps to `native` for backwards compatibility. |
| 34 |
examples = ['native'] |
| 35 |
# We feature-gate all native code, since it will not link correctly, unless you |
| 36 |
# use a UEFI target configuration. To make `cargo test` work, we exclude all |
| 37 |
# these from normal runs. |
| 38 |
native = [] |
| 39 |
rustc-dep-of-std = ['core'] |
| 40 |
|
| 41 |
[[example]] |
| 42 |
name = "freestanding" |
| 43 |
required-features = ["native"] |
| 44 |
|
| 45 |
[[example]] |
| 46 |
name = "gop-query" |
| 47 |
required-features = ["native"] |
| 48 |
|
| 49 |
[[example]] |
| 50 |
name = "hello-world" |
| 51 |
required-features = ["native"] |