axdevice 0.5.6

A reusable, OS-agnostic device abstraction layer designed for virtual machines.
Documentation
# 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 = "axdevice"
version = "0.5.6"
authors = ["Su Mingxian <aarkegz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A reusable, OS-agnostic device abstraction layer designed for virtual machines."
homepage = "https://github.com/arceos-hypervisor/axdevice"
documentation = "https://docs.rs/axdevice"
readme = "README.md"
keywords = ["hypervisor"]
categories = ["virtualization"]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/axdevice"

[features]
host-test = ["ax-kspin/host-test"]

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

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

[[bench]]
name = "lookup_DeviceRuntime"
path = "benches/lookup_DeviceRuntime/main.rs"
harness = false

[dependencies.ax-kspin]
version = "0.3.16"

[dependencies.ax-memory-addr]
version = "0.6.10"

[dependencies.axdevice_base]
version = "0.6.3"

[dependencies.axvm-types]
version = "0.7.2"

[dependencies.cfg-if]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.thiserror]
version = "2"
default-features = false

[dev-dependencies.ax-kspin]
version = "0.3.16"
features = ["host-test"]

[dev-dependencies.divan]
version = "0.1.21"

[dev-dependencies.paste]
version = "1.0"

[dev-dependencies.rand]
version = "0.10"
features = ["std_rng"]

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

[target.'cfg(target_arch = "x86_64")'.dependencies.x86_vlapic]
version = "0.5.0"