[package]
edition = "2024"
name = "buddy_system_allocator"
version = "0.13.0"
authors = [
"Jiajie Chen <c@jia.je>",
"Vinay Chandra Dommeti <github@vinay.vc>",
"Andrew Walbran <qwandor@google.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A bare metal allocator that uses buddy system."
homepage = "https://github.com/rcore-os/buddy_system_allocator"
documentation = "https://docs.rs/buddy_system_allocator"
readme = "README.md"
keywords = [
"allocator",
"no_std",
"heap",
]
license = "MIT"
repository = "https://github.com/rcore-os/buddy_system_allocator"
[features]
alloc = []
default = [
"alloc",
"use_spin",
]
use_spin = ["spin"]
[lib]
name = "buddy_system_allocator"
path = "src/lib.rs"
[[bench]]
name = "memory_allocator_benchmark"
path = "benches/memory_allocator_benchmark.rs"
harness = false
[dependencies.spin]
version = "0.10.0"
features = ["spin_mutex"]
optional = true
default-features = false
[dev-dependencies.criterion]
version = "0.8.1"
[dev-dependencies.ctor]
version = "0.6.3"
[dev-dependencies.rand]
version = "0.9.2"
[dev-dependencies.rand_chacha]
version = "0.9.0"