[package]
edition = "2024"
name = "axvisor"
version = "0.3.0-preview.2"
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 = ["axstd/plat-dyn"]
ept-level-4 = ["axaddrspace/4-level-ept"]
fs = ["axstd/fs"]
phytium-blk = ["dep:phytium-mci"]
rk3568-clk = ["dep:rk3568_clk"]
rk3588-clk = ["dep:rk3588-clk"]
rockchip-pm = ["dep:rockchip-pm"]
sdmmc = ["dep:sdmmc"]
xtask = [
"dep:anyhow",
"dep:axvmconfig",
"dep:cargo_metadata",
"dep:chrono",
"dep:clap",
"dep:colored",
"dep:flate2",
"dep:jkconfig",
"dep:ostool",
"dep:regex",
"dep:reqwest",
"dep:schemars",
"dep:serde",
"dep:serde_json",
"dep:sha2",
"dep:tar",
"dep:tokio",
"dep:toml",
]
[[bin]]
name = "axvisor"
path = "src/main.rs"
[[bin]]
name = "xtask"
path = "xtask/src/main.rs"
required-features = ["xtask"]
[build-dependencies.anyhow]
version = "1.0"
[build-dependencies.axconfig]
version = "=0.3.0-preview.3"
[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"
optional = true
[target."cfg(any(windows, unix))".dependencies.axvmconfig]
version = "0.2"
features = ["std"]
optional = true
[target."cfg(any(windows, unix))".dependencies.cargo_metadata]
version = "0.23"
optional = true
[target."cfg(any(windows, unix))".dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[target."cfg(any(windows, unix))".dependencies.clap]
version = "4.4"
features = ["derive"]
optional = true
[target."cfg(any(windows, unix))".dependencies.colored]
version = "3"
optional = true
[target."cfg(any(windows, unix))".dependencies.flate2]
version = "1.0"
optional = true
[target."cfg(any(windows, unix))".dependencies.jkconfig]
version = "0.1"
optional = true
[target."cfg(any(windows, unix))".dependencies.ostool]
version = "0.8.4"
optional = true
[target."cfg(any(windows, unix))".dependencies.regex]
version = "1.12"
optional = true
[target."cfg(any(windows, unix))".dependencies.reqwest]
version = "0.13"
optional = true
[target."cfg(any(windows, unix))".dependencies.schemars]
version = "1"
features = ["derive"]
optional = true
[target."cfg(any(windows, unix))".dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[target."cfg(any(windows, unix))".dependencies.serde_json]
version = "1"
optional = true
[target."cfg(any(windows, unix))".dependencies.sha2]
version = "0.10"
optional = true
[target."cfg(any(windows, unix))".dependencies.tar]
version = "0.4"
optional = true
[target."cfg(any(windows, unix))".dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[target."cfg(any(windows, unix))".dependencies.toml]
version = "0.9"
optional = true
[target."cfg(not(any(windows, unix)))".dependencies.axaddrspace]
version = "0.1.5"
[target."cfg(not(any(windows, unix)))".dependencies.axdevice]
version = "0.2.1"
[target."cfg(not(any(windows, unix)))".dependencies.axdevice_base]
version = "0.2.1"
[target."cfg(not(any(windows, unix)))".dependencies.axerrno]
version = "0.2.2"
[target."cfg(not(any(windows, unix)))".dependencies.axhvc]
version = "0.2.0"
[target."cfg(not(any(windows, unix)))".dependencies.axklib]
version = "0.3.0"
[target."cfg(not(any(windows, unix)))".dependencies.axstd]
version = "=0.3.0-preview.3"
features = [
"alloc-level-1",
"paging",
"irq",
"multitask",
"task-ext",
"smp",
"hv",
]
[target."cfg(not(any(windows, unix)))".dependencies.axvcpu]
version = "0.2.2"
[target."cfg(not(any(windows, unix)))".dependencies.axvisor_api]
version = "0.1.0"
[target."cfg(not(any(windows, unix)))".dependencies.axvm]
version = "0.2.1"
[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.cpumask]
version = "0.1.0"
[target."cfg(not(any(windows, unix)))".dependencies.crate_interface]
version = "0.1.4"
[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.kernel_guard]
version = "0.1"
[target."cfg(not(any(windows, unix)))".dependencies.kspin]
version = "0.1"
[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.lazyinit]
version = "0.2"
[target."cfg(not(any(windows, unix)))".dependencies.log]
version = "0.4"
[target."cfg(not(any(windows, unix)))".dependencies.memory_addr]
version = "0.4.1"
[target."cfg(not(any(windows, unix)))".dependencies.page_table_entry]
version = "0.6"
features = ["arm-el2"]
[target."cfg(not(any(windows, unix)))".dependencies.page_table_multiarch]
version = "0.6"
[target."cfg(not(any(windows, unix)))".dependencies.pcie]
version = "0.5.0"
[target."cfg(not(any(windows, unix)))".dependencies.percpu]
version = "0.2.3-preview.1"
features = ["arm-el2"]
[target."cfg(not(any(windows, unix)))".dependencies.phytium-mci]
version = "0.1"
features = ["pio"]
optional = true
default-features = false
[target."cfg(not(any(windows, unix)))".dependencies.rd-block]
version = "0.1"
[target."cfg(not(any(windows, unix)))".dependencies.rdif-block]
version = "0.7"
[target."cfg(not(any(windows, unix)))".dependencies.rdif-clk]
version = "0.5"
[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.rk3568_clk]
version = "0.1"
optional = true
[target."cfg(not(any(windows, unix)))".dependencies.rk3588-clk]
version = "0.1"
optional = true
[target."cfg(not(any(windows, unix)))".dependencies.rockchip-pm]
version = "0.4"
optional = true
[target."cfg(not(any(windows, unix)))".dependencies.sdmmc]
version = "0.1"
features = ["pio"]
optional = true
default-features = false
[target."cfg(not(any(windows, unix)))".dependencies.spin]
version = "0.9"
[target."cfg(not(any(windows, unix)))".dependencies.timer_list]
version = "0.1.0"
[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 = "x86_64")'.dependencies.axconfig]
version = "=0.3.0-preview.3"
features = ["plat-dyn"]
[target.'cfg(target_arch = "x86_64")'.dependencies.axplat-x86-qemu-q35]
version = "0.2.0"
features = [
"reboot-on-system-off",
"irq",
"smp",
]
default-features = false
[profile.release]
lto = true