axvisor 0.5.5

A lightweight type-1 hypervisor based on ArceOS
# 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"
name = "axvisor"
version = "0.5.5"
authors = [
    "Keyang Hu <keyang.hu@qq.com>",
    "周睿 <zrufo747@outlook.com>",
]
build = "build.rs"
include = [
    ".cargo/config.toml",
    ".github/*/**",
    "doc/**",
    "src/**",
    "build.rs",
    "configs/**",
    "scripts/**",
    "xtask/src/**",
    "rust-toolchain.toml",
    "README.md",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lightweight type-1 hypervisor based on ArceOS"
homepage = "https://github.com/arceos-hypervisor/axvisor"
documentation = "https://docs.rs/axvisor"
readme = "README.md"
keywords = [
    "hypervisor",
    "virtualization",
    "arceos",
    "type-1",
]
categories = [
    "os",
    "no-std",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/axvisor"

[features]
default = []
dyn-plat = [
    "ax-std/plat-dyn",
    "dep:axplat-dyn",
]
ept-level-4 = []
fs = ["ax-std/fs"]
phytium-blk = [
    "dep:axplat-dyn",
    "axplat-dyn/phytium-blk",
]
rk3568-clk = [
    "dep:axplat-dyn",
    "axplat-dyn/rk3568-clk",
]
rk3588-clk = [
    "dep:axplat-dyn",
    "axplat-dyn/rk3588-clk",
]
rockchip-pm = [
    "dep:axplat-dyn",
    "axplat-dyn/rockchip-pm",
]
sdmmc = [
    "dep:axplat-dyn",
    "axplat-dyn/sdmmc",
]
serial = [
    "dep:axplat-dyn",
    "axplat-dyn/serial",
]
sstc = ["riscv_vcpu/sstc"]

[[bin]]
name = "axvisor"
path = "src/main.rs"

[[bin]]
name = "xtask"
path = "xtask/src/main.rs"

[build-dependencies.anyhow]
version = "1.0"

[build-dependencies.ax-config]
version = "0.5"

[build-dependencies.prettyplease]
version = "0.2"

[build-dependencies.quote]
version = "1.0"

[build-dependencies.syn]
version = "2.0"

[build-dependencies.toml]
version = "0.9"

[target."cfg(any(windows, unix))".dependencies.anyhow]
version = "1.0"

[target."cfg(any(windows, unix))".dependencies.axbuild]
version = "0.4"

[target."cfg(any(windows, unix))".dependencies.clap]
version = "4.6"
features = ["derive"]

[target."cfg(any(windows, unix))".dependencies.tokio]
version = "1"
features = ["full"]

[target."cfg(not(any(windows, unix)))".dependencies.ax-cpumask]
version = "0.3"

[target."cfg(not(any(windows, unix)))".dependencies.ax-crate-interface]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.ax-errno]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.ax-hal]
version = "0.5"
features = [
    "paging",
    "irq",
    "smp",
    "hv",
    "axvisor-linker",
]

[target."cfg(not(any(windows, unix)))".dependencies.ax-kernel-guard]
version = "0.3"

[target."cfg(not(any(windows, unix)))".dependencies.ax-kspin]
version = "0.3"

[target."cfg(not(any(windows, unix)))".dependencies.ax-lazyinit]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.ax-memory-addr]
version = "0.6"

[target."cfg(not(any(windows, unix)))".dependencies.ax-page-table-entry]
version = "0.8"
features = ["arm-el2"]

[target."cfg(not(any(windows, unix)))".dependencies.ax-page-table-multiarch]
version = "0.8"

[target."cfg(not(any(windows, unix)))".dependencies.ax-percpu]
version = "0.4"
features = [
    "arm-el2",
    "non-zero-vma",
]

[target."cfg(not(any(windows, unix)))".dependencies.ax-std]
version = "0.5"
features = [
    "paging",
    "irq",
    "multitask",
    "task-ext",
    "smp",
    "hv",
]

[target."cfg(not(any(windows, unix)))".dependencies.ax-timer-list]
version = "0.3"

[target."cfg(not(any(windows, unix)))".dependencies.axaddrspace]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.axdevice]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.axdevice_base]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.axhvc]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.axklib]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.axplat-dyn]
version = "0.5"
optional = true
default-features = false

[target."cfg(not(any(windows, unix)))".dependencies.axvcpu]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.axvisor_api]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.axvm]
version = "0.5"

[target."cfg(not(any(windows, unix)))".dependencies.bitflags]
version = "2.2"

[target."cfg(not(any(windows, unix)))".dependencies.byte-unit]
version = "5"
features = ["byte"]
default-features = false

[target."cfg(not(any(windows, unix)))".dependencies.cfg-if]
version = "1.0"

[target."cfg(not(any(windows, unix)))".dependencies.extern-trait]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.fdt-parser]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.hashbrown]
version = "0.14"

[target."cfg(not(any(windows, unix)))".dependencies.lazy_static]
version = "1.5"
features = ["spin_no_std"]
default-features = false

[target."cfg(not(any(windows, unix)))".dependencies.log]
version = "0.4"

[target."cfg(not(any(windows, unix)))".dependencies.rdif-intc]
version = "0.14"

[target."cfg(not(any(windows, unix)))".dependencies.rdrive]
version = "0.20"

[target."cfg(not(any(windows, unix)))".dependencies.spin]
version = "0.10"

[target.'cfg(target_arch = "aarch64")'.dependencies.aarch64-cpu-ext]
version = "0.1"

[target.'cfg(target_arch = "aarch64")'.dependencies.arm-gic-driver]
version = "0.17"
features = ["rdif"]

[target.'cfg(target_arch = "loongarch64")'.dependencies.ax-plat-loongarch64-qemu-virt]
version = "0.5"
features = [
    "irq",
    "smp",
]
default-features = false

[target.'cfg(target_arch = "riscv64")'.dependencies.axplat-riscv64-qemu-virt-hv]
version = "0.5"

[target.'cfg(target_arch = "riscv64")'.dependencies.riscv_vcpu]
version = "0.5"

[target.'cfg(target_arch = "riscv64")'.dependencies.riscv_vplic]
version = "0.4"

[target.'cfg(target_arch = "x86_64")'.dependencies.ax-config]
version = "0.5"
features = ["plat-dyn"]

[target.'cfg(target_arch = "x86_64")'.dependencies.axplat-x86-qemu-q35]
version = "0.4"
features = [
    "reboot-on-system-off",
    "irq",
    "smp",
]
default-features = false

[profile.release]
lto = true