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

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

[dependencies]
13
bitflags = "1.0.1"
14
spin = "0.4.6"
Stefan Lankes's avatar
Stefan Lankes committed
15

16
17
18
[dependencies.hermit-multiboot]
path = "../crates/hermit-multiboot"

19
20
21
[dependencies.lazy_static]
version = "0.2.9"
features = ["spin_no_std"]
Stefan Lankes's avatar
Stefan Lankes committed
22

23
[dependencies.raw-cpuid]
24
path = "../crates/raw_cpuid"
25

Stefan Lankes's avatar
Stefan Lankes committed
26
[dependencies.x86]
27
path = "../crates/x86"
Stefan Lankes's avatar
Stefan Lankes committed
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
default-features = false

# 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
43
opt-level = 3
Stefan Lankes's avatar
Stefan Lankes committed
44
45
46
47
48
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1