# 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 = "axplat-dyn"
version = "0.7.12"
authors = ["周睿 <zrufo747@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A dynamic platform module for ArceOS, providing runtime platform detection and configuration"
readme = false
keywords = [
    "arceos",
    "kernel",
]
categories = [
    "os",
    "no-std",
]
license = "Apache-2.0"
repository = "https://github.com/rcore-os/tgoskits"

[package.metadata.axplat]
platform = "dyn"
arch = "aarch64"
crate = "axplat_dyn"
dynamic = true

[features]
default = [
    "smp",
    "irq",
]
efi = ["somehal/efi"]
fp-simd = ["ax-cpu/fp-simd"]
hv = [
    "somehal/hv",
    "ax-cpu/arm-el2",
]
irq = ["ax-plat/irq"]
rtc = []
smp = ["ax-plat/smp"]
thead-mae = [
    "somehal/thead-mae",
    "ax-cpu/xuantie-c9xx",
]
uspace = ["somehal/uspace"]

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

[dependencies.anyhow]
version = "1"
default-features = false

[dependencies.ax-cpu]
version = "0.8.3"

[dependencies.ax-driver]
version = "0.12.0"

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

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

[dependencies.ax-percpu]
version = "0.4.14"
features = ["custom-base"]

[dependencies.ax-plat]
version = "0.12.0"

[dependencies.axklib]
version = "0.7.5"
features = ["buddy-slab"]

[dependencies.heapless]
version = "0.9"

[dependencies.log]
version = "0.4"

[dependencies.rdrive]
version = "0.23.6"

[dependencies.someboot]
version = "0.3.5"

[dependencies.somehal]
version = "0.8.0"

[dependencies.spin]
version = "=0.12.0"
features = [
    "lock_api",
    "once",
    "lazylock",
]
default-features = false
