We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09305cc commit 8a7f6b1Copy full SHA for 8a7f6b1
Cargo.toml
@@ -37,12 +37,17 @@ bootloader_api = { version = "0.11.0", path = "api" }
37
bootloader-x86_64-common = { version = "0.11.0", path = "common" }
38
bootloader-x86_64-bios-common = { version = "0.11.0", path = "bios/common" }
39
40
+[features]
41
+default = ["bios", "uefi"]
42
+bios = ["mbrman"]
43
+uefi = ["gpt"]
44
+
45
[dependencies]
46
anyhow = "1.0.32"
47
fatfs = "0.3.4"
-gpt = "3.0.0"
-mbrman = "0.5.1"
48
tempfile = "3.3.0"
49
+mbrman = { version = "0.5.1", optional = true }
50
+gpt = { version = "3.0.0", optional = true }
51
52
[dev-dependencies]
53
bootloader_test_runner = { path = "tests/runner" }
0 commit comments