[package]
name = "supermachine-kernel"
version = "0.7.70"
edition.workspace = true
rust-version.workspace = true
publish = true
license = "Apache-2.0 AND GPL-2.0-only AND MIT"
description = "Pre-built Linux kernel + in-VM assets for supermachine. A thin facade that re-exports the matching per-arch sub-crate (supermachine-kernel-aarch64 / supermachine-kernel-x86-64) by target_arch, so each `cargo build` downloads only its target's kernel. Pin in lockstep with `supermachine`."
documentation = "https://docs.rs/supermachine-kernel"
readme = "README.md"
keywords = ["microvm", "hypervisor", "kernel", "supermachine", "oci"]
categories = ["virtualization", "embedded", "external-ffi-bindings"]
include = [
"src/**/*.rs",
"Cargo.toml",
"README.md",
"kvm-x86_64-build.sh",
"LICENSE-APACHE",
"LICENSE-GPL-2.0",
"LICENSE-MIT",
"NOTICE",
]
[lib]
name = "supermachine_kernel"
path = "src/lib.rs"
[lints.clippy]
needless_doctest_main = "allow"
[target.'cfg(target_arch = "aarch64")'.dependencies]
supermachine-kernel-aarch64 = { version = "=0.7.70", path = "../supermachine-kernel-aarch64" }
[target.'cfg(target_arch = "x86_64")'.dependencies]
supermachine-kernel-x86-64 = { version = "=0.7.70", path = "../supermachine-kernel-x86-64" }