buddy_system_allocator 0.13.0

A bare metal allocator that uses buddy system.
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 = "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"