[package]
edition = "2024"
name = "axvisor"
version = "0.5.24"
authors = [
"Keyang Hu <keyang.hu@qq.com>",
"周睿 <zrufo747@outlook.com>",
]
build = "build.rs"
include = [
".cargo/config.toml",
"src/**",
"build.rs",
"configs/**",
"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]
axtest = []
backtrace = [
"ax-std/backtrace",
"dep:axbacktrace",
]
default = []
fs = [
"ax-std/ext4fs",
"ax-std/fatfs",
"axvm/host-fs",
]
host-xtask = []
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.shlex]
version = "2.0.1"
default-features = false
[dev-dependencies.ax-hal]
version = "0.5.31"
features = [
"paging",
"irq",
"smp",
"hv",
]
[dev-dependencies.ax-task]
version = "0.6.7"
features = ["axtest"]
[dev-dependencies.axtest]
version = "0.5.14"
[build-dependencies.anyhow]
version = "1.0.104"
features = ["std"]
default-features = false
[build-dependencies.prettyplease]
version = "0.3.0"
[build-dependencies.proc-macro2]
version = "1.0.107"
[build-dependencies.quote]
version = "1.0.47"
[build-dependencies.syn]
version = "3.0.3"
[build-dependencies.toml]
version = "1"
features = [
"std",
"serde",
"parse",
"display",
]
default-features = false
[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.anyhow]
version = "1.0.104"
default-features = false
[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.ax-driver]
version = "0.12.3"
optional = true
[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.ax-std]
version = "0.5.31"
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.8"
optional = true
[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axvm]
version = "0.5.26"
features = ["tls"]
default-features = false
[target.'cfg(any(not(any(windows, unix)), target_env = "musl"))'.dependencies.axvmconfig]
version = "0.8.4"
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.104"
default-features = false
[target.'cfg(any(windows, all(unix, not(target_env = "musl"))))'.dependencies.axbuild]
version = "0.4.23"
[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"]
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(axtest)",
'cfg(feature, values("ax-std"))',
]