Cargo.toml 1.21 KB
Newer Older
Stefan Lankes's avatar
Stefan Lankes committed
1
2
[package]
name = "rusty-loader"
3
version = "0.2.6"
Stefan Lankes's avatar
Stefan Lankes committed
4
5
6
authors = ["Stefan Lankes <slankes@eonerc.rwth-aachen.de>", "Colin Finck <colin.finck@rwth-aachen.de>"]
license = "MIT/Apache-2.0"
readme = "README.md"
7
edition = "2018"
Stefan Lankes's avatar
Stefan Lankes committed
8

9
10
11
[features]
aarch64-qemu-stdout = []    # Output to special qemu address 0x3F20_1000 instead of trying to use uart

Stefan Lankes's avatar
Stefan Lankes committed
12
[dependencies]
Martin Kröning's avatar
Martin Kröning committed
13
14
bitflags = "1.3"
goblin = { version = "0.4", default-features = false, features = ["elf64", "elf32", "endian_fd"] }
Stefan Lankes's avatar
Stefan Lankes committed
15

Martin Kröning's avatar
Martin Kröning committed
16
17
18
[target.'cfg(target_arch = "x86_64")'.dependencies]
multiboot = "0.7"
x86 = { version = "0.41", default-features = false }
Stefan Lankes's avatar
Stefan Lankes committed
19

20
21
[build-dependencies]
target_build_utils = "0.3"
Stefan Lankes's avatar
Stefan Lankes committed
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

# The release profile, used for `cargo build --release`.
[profile.dev]
opt-level = 1      # 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

[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1