pvh 0.1.0

Xen's x86/HVM direct boot ABI (PVH).
Documentation
# 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.

[package]
edition = "2024"
rust-version = "1.85"
name = "pvh"
version = "0.1.0"
authors = ["Martin Kröning <mkroening@posteo.net>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Xen's x86/HVM direct boot ABI (PVH)."
readme = "README.md"
keywords = [
    "pvh",
    "kernel",
    "boot",
    "osdev",
]
categories = [
    "embedded",
    "external-ffi-bindings",
    "no-std::no-alloc",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-osdev/pvh"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-none"
rustdoc-args = [
    "--generate-link-to-definition",
    "--generate-macro-expansion",
]
cargo-args = ["-Zrustdoc-scrape-examples"]

[features]
default = [
    "elfnote",
    "reader",
]
elfnote = []
reader = []

[lib]
name = "pvh"
path = "src/lib.rs"

[[example]]
name = "print"
path = "examples/print/main.rs"
doc-scrape-examples = true

[dependencies.bitflags]
version = "2"

[dependencies.num_enum]
version = "0.7"
default-features = false

[target.'cfg(target_arch = "x86_64")'.dev-dependencies.x86_64]
version = "0.15"
default-features = false

[lints.clippy]
arbitrary_source_item_ordering = "warn"
cargo = "warn"
multiple_unsafe_ops_per_block = "warn"
undocumented_unsafe_blocks = "warn"

[lints.rust]
let_underscore = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
rust_2018_idioms = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rustdoc]
all = "warn"