# 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 = "riscv_vcpu"
version = "0.5.12"
authors = [
    "KeYang Hu <keyang.hu@qq.com>",
    "Mingxian Su <aarkegz@gmail.com>",
    "Peizhong Qiu <15608652022@163.com>",
    "周睿 <zrufo747@outlook.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ArceOS-Hypervisor riscv vcpu module"
readme = "README.md"
keywords = [
    "hypervisor",
    "riscv",
    "vcpu",
]
categories = [
    "embedded",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/riscv_vcpu"

[package.metadata.docs.rs]
default-target = "riscv64gc-unknown-none-elf"
targets = ["riscv64gc-unknown-none-elf"]

[features]
default = []
sstc = []

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

[target.'cfg(target_arch = "riscv64")'.dependencies.ax-crate-interface]
version = "0.5.7"

[target.'cfg(target_arch = "riscv64")'.dependencies.ax-errno]
version = "0.6.0"

[target.'cfg(target_arch = "riscv64")'.dependencies.ax-memory-addr]
version = "0.6.9"

[target.'cfg(target_arch = "riscv64")'.dependencies.axvcpu]
version = "0.6.1"

[target.'cfg(target_arch = "riscv64")'.dependencies.axvm-types]
version = "0.5.12"

[target.'cfg(target_arch = "riscv64")'.dependencies.bit_field]
version = "0.10"

[target.'cfg(target_arch = "riscv64")'.dependencies.bitflags]
version = "2.2"

[target.'cfg(target_arch = "riscv64")'.dependencies.cfg-if]
version = "1.0"

[target.'cfg(target_arch = "riscv64")'.dependencies.log]
version = "0.4"

[target.'cfg(target_arch = "riscv64")'.dependencies.memoffset]
version = ">=0.6.5"
features = ["unstable_const"]

[target.'cfg(target_arch = "riscv64")'.dependencies.riscv]
version = "0.16.1"
features = ["s-mode"]
default-features = false

[target.'cfg(target_arch = "riscv64")'.dependencies.riscv-decode]
version = "0.2.3"

[target.'cfg(target_arch = "riscv64")'.dependencies.riscv-h]
version = "0.4.8"

[target.'cfg(target_arch = "riscv64")'.dependencies.rustsbi]
version = "0.4.0"
features = ["forward"]

[target.'cfg(target_arch = "riscv64")'.dependencies.sbi-rt]
version = "0.0.4"
features = ["integer-impls"]
default-features = false

[target.'cfg(target_arch = "riscv64")'.dependencies.sbi-spec]
version = "0.0.9"
features = ["legacy"]

[target.'cfg(target_arch = "riscv64")'.dependencies.tock-registers]
version = "0.10"
