Cargo.toml 1.96 KB
Newer Older
1
[package]
Stefan Lankes's avatar
Stefan Lankes committed
2
name = "rusty-hermit"
Stefan Lankes's avatar
Stefan Lankes committed
3
version = "0.3.32"
4
authors = [
5
6
	"Stefan Lankes <slankes@eonerc.rwth-aachen.de>",
	"Colin Finck <colin.finck@rwth-aachen.de>"
7
]
8
build = "build.rs"
9
10
license = "MIT/Apache-2.0"
readme = "README.md"
Stefan Lankes's avatar
Stefan Lankes committed
11
12
keywords = ["unikernel", "libos"]
categories = ["os"]
Stefan Lankes's avatar
Stefan Lankes committed
13
repository = "https://github.com/hermitcore/rusty-hermit"
14
edition = "2018"
15
description = """
Stefan Lankes's avatar
Stefan Lankes committed
16
RustyHermit - A Rust-based, lightweight unikernel
17
"""
Stefan Lankes's avatar
Stefan Lankes committed
18
exclude = ["/img/*", "./CMakeLists.txt", "/.travis.yml", "/.gitlab-ci.yml", ".gitignore", "/.vscode/*", "/.github/*"]
19

Stefan Lankes's avatar
Stefan Lankes committed
20
21
22
[badges]
travis-ci = { repository = "hermitcore/libhermit-rs" }

23
[lib]
24
crate-type = ["staticlib"]
Stefan Lankes's avatar
Stefan Lankes committed
25
name = "hermit"
26

27
[features]
28
default = ["pci", "acpi"]
29
vga = []
30
newlib = []
31
32
pci = []
acpi = []
33

34
[dependencies]
Stefan Lankes's avatar
Stefan Lankes committed
35
bitflags = "1.2"
36
#cfg-if = "0.1"
Stefan Lankes's avatar
Stefan Lankes committed
37
#byteorder = { version = "1.0", default-features = false }
38
39
40
41
42
43
44
45
46
num-derive = "0.3"

[dependencies.num]
version = "0.2"
default-features = false

[dependencies.num-traits]
version = "0.2"
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
47

48
[dependencies.log]
Stefan Lankes's avatar
Stefan Lankes committed
49
version = "0.4"
50
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
51
#features = ["release_max_level_info"]
52

53
54
[target.'cfg(target_arch = "x86_64")'.dependencies.multiboot]
version = "0.*"
55

56
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
57
version = "0.*"
58
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
59
60
61

# The development profile, used for `cargo build`.
[profile.dev]
62
opt-level = 1      # controls the `--opt-level` the compiler builds with
Stefan Lankes's avatar
Stefan Lankes committed
63
64
65
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`
Stefan Lankes's avatar
Stefan Lankes committed
66
lto = false         # controls `-C lto` for binaries and staticlibs
Stefan Lankes's avatar
Stefan Lankes committed
67
debug-assertions = true # controls whether debug assertions are enabled
Stefan Lankes's avatar
Stefan Lankes committed
68
panic = "abort" # Call abort on panic https://github.com/rust-lang/rust/pull/32900
Stefan Lankes's avatar
Stefan Lankes committed
69
70
71

# The release profile, used for `cargo build --release`.
[profile.release]
Stefan Lankes's avatar
Stefan Lankes committed
72
opt-level = 3
Stefan Lankes's avatar
Stefan Lankes committed
73
74
75
76
debug = false
rpath = false
lto = true
debug-assertions = false
77
panic = "abort"