Format Cargo.toml
... | ... | @@ -3,7 +3,7 @@ name = "rusty-hermit" |
version = "0.3.49" | ||
authors = [ | ||
"Stefan Lankes <slankes@eonerc.rwth-aachen.de>", | ||
"Colin Finck <colin.finck@rwth-aachen.de>" | ||
"Colin Finck <colin.finck@rwth-aachen.de>", | ||
] | ||
license = "MIT OR Apache-2.0" | ||
readme = "README.md" | ||
... | ... | @@ -12,10 +12,17 @@ categories = ["os"] |
repository = "https://github.com/hermitcore/rusty-hermit" | ||
documentation = "https://hermitcore.github.io/libhermit-rs/hermit/" | ||
edition = "2018" | ||
description = """ | ||
A Rust-based library operting system | ||
""" | ||
exclude = ["/img/*", "./CMakeLists.txt", "/Dockerfile", "/.gitlab-ci.yml", ".gitignore", ".gitattributes", "/.vscode/*", "/.github/*"] | ||
description = "A Rust-based library operting system" | ||
exclude = [ | ||
"/.github/*", | ||
"/.vscode/*", | ||
"/.gitlab-ci.yml", | ||
"/Dockerfile", | ||
"/img/*", | ||
"./CMakeLists.txt", | ||
".gitattributes", | ||
".gitignore", | ||
] | ||
[lib] | ||
crate-type = ["staticlib", "lib"] # "lib" required for integration tests | ||
... | ... | @@ -42,45 +49,24 @@ acpi = [] |
smp = [] | ||
fsgsbase = [] | ||
[dev-dependencies] | ||
x86 = { version = "0.40.*", default-features = false } | ||
float-cmp = "0.8.0" | ||
[dependencies.scopeguard] | ||
version = "1.1" | ||
default-features = false | ||
[dev-dependencies.num-traits] | ||
version = "0.2" | ||
default-features = false | ||
# features = ["i128"] // Blocked by: https://github.com/rust-num/num-traits/issues/177 | ||
[dependencies] | ||
bitflags = "1.2" | ||
#cfg-if = "0.1" | ||
#byteorder = { version = "1.0", default-features = false } | ||
num-derive = "0.3" | ||
crossbeam-utils = { version = "0.8", default-features = false } | ||
log = { version = "0.4", default-features = false } | ||
num = { version = "0.4", default-features = false } | ||
num-derive = "0.3" | ||
num-traits = { version = "0.2", default-features = false } | ||
scopeguard = { version = "1.1", default-features = false } | ||
[dependencies.num] | ||
version = "0.4" | ||
default-features = false | ||
[dependencies.num-traits] | ||
version = "0.2" | ||
default-features = false | ||
[dependencies.log] | ||
version = "0.4" | ||
default-features = false | ||
#features = ["release_max_level_info"] | ||
[target.'cfg(target_arch = "x86_64")'.dependencies.multiboot] | ||
version = "0.6.*" | ||
[target.'cfg(target_arch = "x86_64")'.dependencies] | ||
multiboot = "0.6" | ||
x86 = { version = "0.40", default-features = false } | ||
[target.'cfg(target_arch = "x86_64")'.dependencies.x86] | ||
version = "0.40.*" | ||
default-features = false | ||
[dev-dependencies] | ||
float-cmp = "0.8" | ||
num-traits = { version = "0.2", default-features = false } | ||
# num-traits feature "i128" blocked by: https://github.com/rust-num/num-traits/issues/177 | ||
x86 = { version = "0.40", default-features = false } | ||
# The development profile, used for `cargo build`. | ||
[profile.dev] | ||
... | ... | @@ -91,7 +77,7 @@ 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 | ||
# Disabled because of https://github.com/rust-lang/cargo/issues/7359 | ||
#panic = "abort" # Call abort on panic https://github.com/rust-lang/rust/pull/32900 | ||
# panic = "abort" # Call abort on panic https://github.com/rust-lang/rust/pull/32900 | ||
# The release profile, used for `cargo build --release`. | ||
[profile.release] | ||
... | ... | @@ -100,4 +86,4 @@ debug = false |
rpath = false | ||
lto = false | ||
debug-assertions = false | ||
#panic = "abort" | ||
# panic = "abort" |
Please register or sign in to comment