# 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 = "arm_vcpu"
version = "0.5.6"
authors = [
    "KeYang Hu <keyang.hu@qq.com>",
    "Mingxian Su <aarkegz@gmail.com>",
    "ShiMei Tang <shimei820@gmail.com>",
    "DeBin Luo <luodeb@outlook.com>",
    "周睿 <zrufo747@outlook.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Aarch64 VCPU implementation for Arceos Hypervisor"
readme = "README.md"
keywords = [
    "hypervisor",
    "aarch64",
    "vcpu",
]
categories = [
    "embedded",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/arm_vcpu"

[package.metadata.docs.rs]
targets = ["aarch64-unknown-none-softfloat"]

[lib]
name = "arm_vcpu"
path = "src/lib.rs"

[[test]]
name = "axci_flow_test"
path = "tests/axci_flow_test.rs"

[[test]]
name = "context_frame_test"
path = "tests/context_frame_test.rs"

[[test]]
name = "hardware_support_test"
path = "tests/hardware_support_test.rs"

[[test]]
name = "mpidr_test"
path = "tests/mpidr_test.rs"

[[test]]
name = "psci_test"
path = "tests/psci_test.rs"

[[test]]
name = "script_test"
path = "tests/script_test.rs"

[[test]]
name = "spsr_test"
path = "tests/spsr_test.rs"

[[test]]
name = "vcpu_config_test"
path = "tests/vcpu_config_test.rs"

[[test]]
name = "vmcpu_registers_test"
path = "tests/vmcpu_registers_test.rs"

[dependencies.aarch64-cpu]
version = "11.0"

[dependencies.ax-errno]
version = "0.4.7"

[dependencies.ax-percpu]
version = "0.4.11"
features = ["arm-el2"]

[dependencies.axaddrspace]
version = "0.5.8"

[dependencies.axdevice_base]
version = "0.4.8"

[dependencies.axvcpu]
version = "0.5.6"

[dependencies.axvisor_api]
version = "0.5.8"

[dependencies.log]
version = "0.4"

[dependencies.numeric-enum-macro]
version = "0.2"

[dependencies.spin]
version = "0.10"
