bootloader 0.11.9

An experimental x86_64 bootloader that works on both BIOS and UEFI systems.
Documentation
cargo-features = ["profile-rustflags"]

[build-dependencies.async-process]
version = "1.6.0"

[build-dependencies.futures]
version = "0.3.25"

[build-dependencies.futures-concurrency]
version = "7.0.0"

[build-dependencies.llvm-tools]
version = "0.1.1"

[dependencies.anyhow]
version = "1.0.32"

[dependencies.bootloader-boot-config]
version = "0.11.8"

[dependencies.fatfs]
default-features = false
features = ["std", "alloc"]
version = "0.3.4"

[dependencies.gpt]
optional = true
version = "3.0.0"

[dependencies.mbrman]
optional = true
version = "0.5.1"

[dependencies.serde_json]
version = "1.0.91"

[dependencies.tempfile]
version = "3.3.0"

[dev-dependencies]

[features]
bios = ["dep:mbrman"]
default = ["bios", "uefi"]
uefi = ["dep:gpt"]

[lib]
name = "bootloader"
path = "src/lib.rs"

[package]
authors = ["Philipp Oppermann <dev@phil-opp.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "An experimental x86_64 bootloader that works on both BIOS and UEFI systems."
edition = "2021"
license = "MIT OR Apache-2.0"
name = "bootloader"
readme = "README.md"
repository = "https://github.com/rust-osdev/bootloader"
version = "0.11.9"

[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs_dummy_build"]

[profile.dev]
panic = "abort"

[profile.lto]
inherits = "release"
lto = true

[profile.release]
debug = 2
lto = false
overflow-checks = true
panic = "abort"

[profile.stage-1]
codegen-units = 1
debug = 0
inherits = "release"
lto = true
opt-level = "s"
overflow-checks = false

[profile.stage-2]
codegen-units = 1
debug = 0
inherits = "release"
opt-level = "s"
overflow-checks = true

[profile.stage-3]
debug = 2
inherits = "release"
overflow-checks = true

[profile.stage-4]
debug = 2
inherits = "release"
overflow-checks = true

[profile.test.package.test_kernel_higher_half]
rustflags = ["-C", "link-args=--image-base 0xFFFF800000000000", "-C", "relocation-model=pic", "-C", "code-model=large"]

[profile.test.package.test_kernel_min_stack]
opt-level = 2

[[test]]
name = "config_file"
path = "tests/config_file.rs"

[[test]]
name = "default_settings"
path = "tests/default_settings.rs"

[[test]]
name = "higher_half"
path = "tests/higher_half.rs"

[[test]]
name = "lower_memory_free"
path = "tests/lower_memory_free.rs"

[[test]]
name = "lto"
path = "tests/lto.rs"

[[test]]
name = "map_phys_mem"
path = "tests/map_phys_mem.rs"

[[test]]
name = "min_stack"
path = "tests/min_stack.rs"

[[test]]
name = "pie"
path = "tests/pie.rs"

[[test]]
name = "ramdisk"
path = "tests/ramdisk.rs"

[[test]]
name = "write_usable_memory"
path = "tests/write_usable_memory.rs"