[package]
edition = "2024"
rust-version = "1.85.1"
name = "multiboot2-header"
version = "0.8.0"
authors = ["Philipp Schuster <phip1611@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Convenient and safe parsing of Multiboot2 Header structures and the
contained header tags. Usable in no_std environments, such as a
bootloader. An optional builder feature also allows the construction of
the corresponding structures.
"""
homepage = "https://github.com/rust-osdev/multiboot2/tree/main/multiboot2-header"
documentation = "https://docs.rs/multiboot2-header"
readme = "README.md"
keywords = [
"Multiboot2",
"kernel",
"boot",
"bootloader",
]
categories = [
"no-std",
"no-std::no-alloc",
"parsing",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-osdev/multiboot2"
resolver = "2"
[package.metadata.docs.rs]
all-features = true
[features]
alloc = ["multiboot2-common/alloc"]
builder = [
"alloc",
"multiboot2-common/builder",
]
default = ["builder"]
[lib]
name = "multiboot2_header"
path = "src/lib.rs"
[[example]]
name = "minimal"
path = "examples/minimal.rs"
required-features = ["builder"]
[dependencies.multiboot2]
version = "0.25.0"
default-features = false
[dependencies.multiboot2-common]
version = "0.4.0"
default-features = false
[dependencies.ptr_meta]
version = "~0.3"
default-features = false
[dependencies.thiserror]
version = "2.0"
default-features = false