# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. cargo-features = ["profile-rustflags"] [package] edition = "2021" name = "springboard" version = "3.0.1" authors = ["Az "] description = "A bootloader that works on both BIOS and UEFI systems." readme = "README.md" license = "Apache-2.0" repository = "https://github.com/azyklus/springboard" [package.metadata.docs.rs] rustc-args = [ "--cfg", "docsrs_dummy_build", ] [profile.dev] panic = "abort" [profile.lto] lto = true inherits = "release" [profile.release] lto = false debug = 2 panic = "abort" overflow-checks = true [profile.stage-1] opt-level = "s" lto = true codegen-units = 1 debug = 0 overflow-checks = false inherits = "release" [profile.stage-2] opt-level = "s" codegen-units = 1 debug = 0 overflow-checks = true inherits = "release" [profile.stage-3] debug = 2 overflow-checks = true inherits = "release" [profile.stage-4] debug = 2 overflow-checks = true inherits = "release" [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 [lib] name = "springboard" path = "index.rs" [dependencies.anyhow] version = "1.0.32" [dependencies.fatfs] version = "0.3.4" features = [ "std", "alloc", ] default-features = false [dependencies.gpt] version = "3.0.0" optional = true [dependencies.mbrman] version = "0.5.1" optional = true [dependencies.serde_json] version = "1.0.91" [dependencies.springboard-boot-config] version = "3.0.1" [dependencies.tempfile] version = "3.3.0" [dev-dependencies] [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" [features] bios = ["dep:mbrman"] default = [ "bios", "uefi", ] uefi = ["dep:gpt"]