Cargo.toml 1.87 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.27"
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/libhermit-rs"
14
description = """
Stefan Lankes's avatar
Stefan Lankes committed
15
RustyHermit - A Rust-based, lightweight unikernel
16
"""
17
exclude = ["/img/*", "./CMakeLists.txt", "/.travis.yml", "/.gitlab-ci.yml", ".gitignore", "/.vscode/*"]
18

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

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

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

33
[dependencies]
Stefan Lankes's avatar
Stefan Lankes committed
34
bitflags = "1.2"
35
#cfg-if = "0.1"
Stefan Lankes's avatar
Stefan Lankes committed
36
#byteorder = { version = "1.0", default-features = false }
37
lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
Stefan Lankes's avatar
Stefan Lankes committed
38

39
[dependencies.log]
Stefan Lankes's avatar
Stefan Lankes committed
40
version = "0.4"
41
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
42
#features = ["release_max_level_info"]
43

44
45
[target.'cfg(target_arch = "x86_64")'.dependencies.multiboot]
version = "0.*"
46

47
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
48
version = "0.*"
49
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
50
51
52

# The development profile, used for `cargo build`.
[profile.dev]
53
opt-level = 1      # controls the `--opt-level` the compiler builds with
Stefan Lankes's avatar
Stefan Lankes committed
54
55
56
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
57
lto = false         # controls `-C lto` for binaries and staticlibs
Stefan Lankes's avatar
Stefan Lankes committed
58
debug-assertions = true # controls whether debug assertions are enabled
Stefan Lankes's avatar
Stefan Lankes committed
59
panic = "abort" # Call abort on panic https://github.com/rust-lang/rust/pull/32900
Stefan Lankes's avatar
Stefan Lankes committed
60
61
62

# The release profile, used for `cargo build --release`.
[profile.release]
Stefan Lankes's avatar
Stefan Lankes committed
63
opt-level = 3
Stefan Lankes's avatar
Stefan Lankes committed
64
65
66
67
debug = false
rpath = false
lto = true
debug-assertions = false
68
panic = "abort"