Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [package]
  2. name = "multiboot2"
  3. description = """
  4. Library that assists parsing the Multiboot2 Information Structure (MBI) from
  5. Multiboot2-compliant bootloaders, such as GRUB. It supports all tags from the
  6. specification including full support for the sections of ELF files. This library
  7. is `no_std` and can be used in a Multiboot2-kernel.
  8. """
  9. version = "0.20.1"
  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. "parsing",
  21. ]
  22. keywords = [
  23. "Multiboot2",
  24. "kernel",
  25. "boot",
  26. "bootloader",
  27. ]
  28. # without this, sometimes crates.io doesn't show the preview of the README
  29. # I expeciended this multiple times in the past
  30. readme = "README.md"
  31. homepage = "https://github.com/rust-osdev/multiboot2"
  32. repository = "https://github.com/rust-osdev/multiboot2"
  33. documentation = "https://docs.rs/multiboot2"
  34. rust-version = "1.70"
  35. [features]
  36. default = ["builder"]
  37. alloc = []
  38. builder = ["alloc"]
  39. # Nightly-only features, which will eventually be stabilized.
  40. unstable = []
  41. [dependencies]
  42. bitflags.workspace = true
  43. derive_more.workspace = true
  44. log.workspace = true
  45. # We only use a very basic type definition from this crate. To prevent MSRV
  46. # bumps from uefi-raw, I restrict this here. Upstream users are likely to have
  47. # two versions of this library in it, which is no problem, as we only use the
  48. # type definition.
  49. uefi-raw = { version = "~0.5", default-features = false }
  50. ptr_meta = { version = "~0.2", default-features = false }
  51. [package.metadata.docs.rs]
  52. all-features = true