Cargo.toml 1.41 KB
Newer Older
1
2
[package]
name = "hermit-rs"
3
version = "0.3.2"
4
authors = [
5
6
	"Stefan Lankes <slankes@eonerc.rwth-aachen.de>",
	"Colin Finck <colin.finck@rwth-aachen.de>"
7
8
9
10
11
]

[lib]
crate-type = ["staticlib"]

12
13
14
15
[features]
#default = ["vga"]
vga = []

16
[dependencies]
17
18
bitflags = "1.0.3"
spin = "0.4.8"
Stefan Lankes's avatar
Stefan Lankes committed
19

20
[target.'cfg(target_arch = "x86_64")'.dependencies.hermit-multiboot]
21
22
path = "../crates/hermit-multiboot"

23
[dependencies.lazy_static]
24
version = "1.0.1"
25
features = ["spin_no_std"]
Stefan Lankes's avatar
Stefan Lankes committed
26

27
[target.'cfg(target_arch = "x86_64")'.dependencies.raw-cpuid]
28
version = "5.0.0"
29
features = ["nightly"]
30

31
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
32
33
version = "0.9.0"
features = []
Stefan Lankes's avatar
Stefan Lankes committed
34
35
36
37
38
39
40
41
42
43
44
45
46
47

# The development profile, used for `cargo build`.
[profile.dev]
opt-level = 0      # controls the `--opt-level` the compiler builds with
debug = true       # controls whether the compiler passes `-C debuginfo`
                   # a value of `true` is equivalent to `2`
rpath = false      # controls whether the compiler passes `-C rpath`
lto = false        # controls `-C lto` for binaries and staticlibs
debug-assertions = true # controls whether debug assertions are enabled
codegen-units = 1  # controls whether the compiler passes `-C codegen-units`
                   # `codegen-units` is ignored when `lto = true`

# The release profile, used for `cargo build --release`.
[profile.release]
Stefan Lankes's avatar
Stefan Lankes committed
48
opt-level = 3
Stefan Lankes's avatar
Stefan Lankes committed
49
50
51
52
53
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1