[package]
edition = "2024"
name = "buddy-slab-allocator"
version = "0.3.0"
authors = [
"Song Zhiyong <songzhyo@qq.com>",
"周睿 <zrufo747@outlook.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Memory allocator with Buddy and Slab allocation"
documentation = "https://docs.rs/buddy-slab-allocator"
readme = "README.md"
keywords = [
"buddy",
"slab",
"allocator",
]
categories = [
"memory-management",
"no-std",
"embedded",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/buddy-slab-allocator"
[lib]
name = "buddy_slab_allocator"
path = "src/lib.rs"
[[test]]
name = "dma32_pages_test"
path = "tests/dma32_pages_test.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[[test]]
name = "stress_test"
path = "tests/stress_test.rs"
[[bench]]
name = "buddy_allocator"
path = "benches/buddy_allocator.rs"
harness = false
[[bench]]
name = "global_allocator"
path = "benches/global_allocator.rs"
harness = false
[[bench]]
name = "slab_allocator"
path = "benches/slab_allocator.rs"
harness = false
[dependencies.log]
version = "0.4"
[dependencies.spin]
version = "0.10"
[dev-dependencies.divan]
version = "0.1.21"
[dev-dependencies.rand]
version = "0.10"
features = ["std_rng"]