axvisor 0.5.23

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.23"
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/**",
    "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]
ahci-fdt = ["ax-driver/ahci-fdt"]
axtest = []
backtrace = [
    "ax-std/backtrace",
    "dep:axbacktrace",
]
default = []
fs = [
    "ax-std/ext4fs",
    "ax-std/fatfs",
    "axvm/host-fs",
]
host-xtask = []
phytium-mci = ["ax-driver/phytium-mci"]
rockchip-pm = ["ax-driver/rockchip-pm"]
rockchip-sdhci = [
    "ax-driver/rockchip-sdhci",
    "ax-driver/rockchip-soc",
]
rockchip-soc = ["ax-driver/rockchip-soc"]
sdmmc = [
    "ax-driver/rockchip-sdhci",
    "ax-driver/rockchip-soc",
]
sstc = ["axvm/sstc"]
stack-protector = ["ax-std/stack-protector"]
test-backtrace-panic = ["backtrace"]
test-panic-no-backtrace = ["dep:axbacktrace"]

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

[[bin]]
name = "xtask"
path = "xtask/src/main.rs"
test = false
required-features = ["host-xtask"]

[dependencies.ax-crate-interface]
version = "0.5.7"

[dependencies.spin]
version = "=0.12.2"
features = [
    "lock_api",
    "once",
    "lazylock",
]
default-features = false

[dev-dependencies.axtest]
version = "0.5.13"

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

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

[build-dependencies.proc-macro2]
version = "1.0"

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

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

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

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.anyhow]
version = "1.0"
default-features = false

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.ax-driver]
version = "0.12.2"

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.ax-hal]
version = "0.5.30"
features = [
    "paging",
    "irq",
    "smp",
    "hv",
]

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.ax-std]
version = "0.5.30"
features = [
    "alloc",
    "fd",
    "ext-ld",
    "paging",
    "irq",
    "multitask",
    "task-ext",
    "smp",
    "hv",
    "tls",
    "std-compat",
]
default-features = false

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axbacktrace]
version = "0.4.7"
optional = true

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axplat-dyn]
version = "0.7.14"
default-features = false

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axvm]
version = "0.5.25"
features = ["tls"]
default-features = false

[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axvmconfig]
version = "0.8.3"
default-features = false

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

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.anyhow]
version = "1.0"
default-features = false

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.axbuild]
version = "0.4.22"

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.clap]
version = "4.6"
features = ["derive"]

[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.tokio]
version = "1"
features = ["full"]

[target.'cfg(target_arch = "riscv64")'.dependencies.axplat-dyn]
version = "0.7.14"
features = ["hv"]
default-features = false