-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
51 lines (47 loc) · 1.47 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
[package]
name = "r-efi-alloc"
version = "1.0.0"
authors = [
"David Rheinsberg <[email protected]>",
"Tom Gundersen <[email protected]>",
]
categories = [
"embedded",
"hardware-support",
"memory-management",
"no-std",
"os",
]
description = "UEFI Memory Allocator Integration"
edition = "2018"
homepage = "https://github.com/r-efi/r-efi/wiki"
keywords = [
"efi",
"uefi",
"firmware",
"alloc",
"memory",
]
license = "MIT OR Apache-2.0 OR LGPL-2.1-or-later"
readme = "README.md"
repository = "https://github.com/r-efi/r-efi-alloc"
[dependencies]
r-efi = "4.0.0"
# Required setup to build as part of rustc.
compiler_builtins = { version = '0.1.79', optional = true }
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
[features]
# Use the unstable `allocator_api` feature of the standard library to provide
# an allocator with the `core::alloc::Allocator` trait.
allocator_api = []
# 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 = []
# This feature-gate is a requirement to integrate crates into the dependency
# tree of the standard library. Use outside of the standard library is not
# supported.
rustc-dep-of-std = ['compiler_builtins/rustc-dep-of-std', 'core']
[[example]]
name = "hello-world"
required-features = ["native"]