linux-loader 0.14.0

A Linux kernel image loading crate.
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 = "2021"
name = "linux-loader"
version = "0.14.0"
authors = [
    "The rust-vmm maintainers",
    "rust-vmm AWS maintainers <rust-vmm-maintainers@amazon.com>",
    "Cathy Zhang <cathy.zhang@intel.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Linux kernel image loading crate."
homepage = "https://github.com/rust-vmm/linux-loader"
readme = "README.md"
keywords = ["kernel"]
license = "Apache-2.0 AND BSD-3-Clause"
repository = "https://github.com/rust-vmm/linux-loader"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bzimage = ["elf"]
default = ["pe"]
elf = []
pe = ["elf"]

[lib]
name = "linux_loader"
path = "src/lib.rs"
bench = false

[[bench]]
name = "main"
path = "benches/main.rs"
harness = false

[dependencies.vm-memory]
version = "0.18"

[dev-dependencies.criterion]
version = "0.7.0"
features = ["html_reports"]

[dev-dependencies.vm-memory]
version = "0.18"
features = ["backend-mmap"]

[profile.bench]
lto = true
codegen-units = 1