Cargo.toml 1.74 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.14"
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
27
[features]
vga = []
28
newlib = []
29

30
[dependencies]
Stefan Lankes's avatar
Stefan Lankes committed
31
bitflags = "1.2"
32
#cfg-if = "0.1"
Stefan Lankes's avatar
Stefan Lankes committed
33
#byteorder = { version = "1.0", default-features = false }
Stefan Lankes's avatar
Stefan Lankes committed
34

35
[dependencies.log]
Stefan Lankes's avatar
Stefan Lankes committed
36
version = "0.4"
37
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
38
#features = ["release_max_level_info"]
39

40
41
[target.'cfg(target_arch = "x86_64")'.dependencies.multiboot]
version = "0.*"
42

43
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
44
version = "0.*"
45
default-features = false
Stefan Lankes's avatar
Stefan Lankes committed
46
47
48

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

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