axcpu 0.3.0-preview.3

Privileged instruction and structure abstractions for various CPU architectures
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 = "2021"
rust-version = "1.82.0"
name = "axcpu"
version = "0.3.0-preview.3"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "Youjie Zheng <Azure_stars@126.com>",
    "yfblock <321353225@qq.com>",
    "yanjuguang <coolyanjg@163.com>",
    "Grow Zheng <hhmcn@outlook.com>",
    "Su Mingxian <aarkegz@gmail.com>",
    "hky1999 <keyang.hu@qq.com>",
    "RobertYuan <634954435@qq.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Privileged instruction and structure abstractions for various CPU architectures"
homepage = "https://github.com/arceos-org/axcpu"
documentation = "https://docs.rs/axcpu"
readme = "README.md"
keywords = [
    "arceos",
    "cpu",
    "architecture",
    "hal",
]
categories = [
    "embedded",
    "no-std",
    "hardware-support",
    "os",
]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/axcpu"

[package.metadata.docs.rs]
all-features = true
targets = [
    "x86_64-unknown-none",
    "aarch64-unknown-none-softfloat",
    "riscv64gc-unknown-none-elf",
    "loongarch64-unknown-none-softfloat",
]

[features]
arm-el2 = []
default = []
fp-simd = []
tls = []
uspace = []

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

[dependencies.axbacktrace]
version = "0.1"

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

[dependencies.linkme]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.memory_addr]
version = "0.4"

[dependencies.page_table_entry]
version = "0.5"

[dependencies.static_assertions]
version = "1.1.0"

[target.'cfg(any(target_arch = "riscv32", target_arch = "riscv64"))'.dependencies.riscv]
version = "0.14"

[target.'cfg(target_arch = "aarch64")'.dependencies.aarch64-cpu]
version = "10.0"

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

[target.'cfg(target_arch = "loongarch64")'.dependencies.loongArch64]
version = "0.2.4"

[target.'cfg(target_arch = "loongarch64")'.dependencies.page_table_multiarch]
version = "0.5"

[target.'cfg(target_arch = "x86_64")'.dependencies.lazyinit]
version = "0.2"

[target.'cfg(target_arch = "x86_64")'.dependencies.percpu]
version = "0.2"

[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
version = "0.52"

[target.'cfg(target_arch = "x86_64")'.dependencies.x86_64]
version = "0.15"
features = ["instructions"]
default-features = false

[lints.clippy]
new_without_default = "allow"