Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [package]
  2. name = "multiboot2"
  3. description = """
  4. Convenient and safe parsing of Multiboot2 Boot Information (MBI)
  5. structures and the contained information tags. Usable in `no_std` environments,
  6. such as a kernel. An optional builder feature also allows the construction of
  7. the corresponding structures.
  8. """
  9. version = "0.22.2"
  10. authors = [
  11. "Philipp Oppermann <dev@phil-opp.com>",
  12. "Calvin Lee <cyrus296@gmail.com>",
  13. "Isaac Woods",
  14. "Philipp Schuster <phip1611@gmail.com>"
  15. ]
  16. license = "MIT/Apache-2.0"
  17. edition = "2021"
  18. categories = [
  19. "no-std",
  20. "no-std::no-alloc",
  21. "parsing",
  22. ]
  23. keywords = [
  24. "Multiboot2",
  25. "kernel",
  26. "boot",
  27. "bootloader",
  28. ]
  29. # without this, sometimes crates.io doesn't show the preview of the README
  30. # I expeciended this multiple times in the past
  31. readme = "README.md"
  32. homepage = "https://github.com/rust-osdev/multiboot2"
  33. repository = "https://github.com/rust-osdev/multiboot2"
  34. documentation = "https://docs.rs/multiboot2"
  35. rust-version = "1.70"
  36. [features]
  37. default = ["builder"]
  38. alloc = ["multiboot2-common/alloc"]
  39. builder = ["alloc", "multiboot2-common/builder"]
  40. # Nightly-only features, which will eventually be stabilized.
  41. unstable = ["multiboot2-common/unstable"]
  42. [dependencies]
  43. bitflags.workspace = true
  44. derive_more.workspace = true
  45. log.workspace = true
  46. ptr_meta.workspace = true
  47. multiboot2-common.workspace = true
  48. # We only use a very basic type definition from this crate. To prevent MSRV
  49. # bumps from uefi-raw, I restrict this here. Upstream users are likely to have
  50. # two versions of this library in it, which is no problem, as we only use the
  51. # type definition.
  52. uefi-raw = { version = "~0.5", default-features = false }
  53. [package.metadata.docs.rs]
  54. all-features = true