dma-api 0.10.2

Trait for DMA alloc and some collections
Documentation
[package]
authors = ["周睿 <zrufo747@outlook.com>"]
categories.workspace = true
description = "Trait for DMA alloc and some collections"
edition.workspace = true
keywords = ["os", "dma"]
license.workspace = true
name = "dma-api"
repository.workspace = true
version = "0.10.2"

[features]
default = []
host-test = ["pool", "ax-sync/host-test"]
pool = ["dep:ax-sync"]

[dependencies]
ax-sync = { workspace = true, optional = true }
cfg-if.workspace = true
derive_more.workspace = true
log.workspace = true
mbarrier = "0.1"
thiserror.workspace = true

[dev-dependencies]
ax-sync = { path = "../../os/arceos/modules/axsync", features = ["host-test"] }

[target.'cfg(target_arch = "aarch64")'.dependencies]
aarch64-cpu-ext = "0.1"

[[test]]
name = "std"
path = "tests/std.rs"
required-features = ["host-test"]