-
Notifications
You must be signed in to change notification settings - Fork 81
/
Cargo.toml
60 lines (52 loc) · 1.58 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 = "hermit-sys"
version = "0.1.22"
authors = ["Stefan Lankes"]
license = "MIT/Apache-2.0"
description = "FFI bindings to HermitCore"
repository = "https://github.com/hermitcore/rusty-hermit"
readme = "README.md"
keywords = ["unikernel", "libos"]
categories = ["os"]
links = "hermit"
build = "build.rs"
edition = "2018"
documentation = "https://hermitcore.github.io/rusty-hermit/hermit_sys"
[features]
default = ["pci", "acpi", "smp", "fsgsbase"]
# controls whether RustyHermit is build with -Z instrument-mcount
instrument = ["rftrace"]
trace = []
fsgsbase = []
pci = []
acpi = []
vga = []
dhcpv4 = ["smoltcp/proto-dhcpv4"]
# only for internal usage, please don't use it
with_submodule = []
smp = []
[build-dependencies]
walkdir = "2"
target_build_utils = "0.3"
llvm-tools = { version = "0.1" }
[dependencies]
log = { version = "0.4", default-features = false }
lazy_static = "1.4.0"
libm = { version = "0.2.1", default-features = false }
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
version = "0.*"
default-features = false
[target.'cfg(target_arch = "aarch64")'.dependencies.aarch64]
version = "0.*"
default-features = false
[dependencies.smoltcp]
version = "0.7.0"
optional = true
default-features = false
features = ["std", "ethernet", "socket-udp", "socket-tcp", "proto-ipv4", "proto-ipv6"]
# to increase the output the features log and verbose should be enabled
#features = ["log", "verbose", "std", "ethernet", "socket-udp", "socket-tcp", "proto-ipv4", "proto-ipv6"]
[dependencies.rftrace]
version = "0.1.0"
optional = true
features = ["autokernel", "buildcore", "interruptsafe"]