axalloc 0.2.2-hv.3

ArceOS global memory allocator
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 = "axalloc"
version = "0.2.2-hv.3"
authors = ["Yuekai Jia <equation618@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ArceOS global memory allocator"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://arceos-org.github.io/arceos/axalloc/index.html"
readme = "README.md"
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/arceos/tree/main/modules/axalloc"

[features]
buddy = ["axallocator/buddy"]
default = [
    "tlsf",
    "axallocator/page-alloc-256m",
]
level-1 = []
page-alloc-4g = ["axallocator/page-alloc-4g"]
page-alloc-64g = ["axallocator/page-alloc-64g"]
slab = ["axallocator/slab"]
tlsf = ["axallocator/tlsf"]
tracking = [
    "dep:percpu",
    "dep:axbacktrace",
]

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

[dependencies.axallocator]
version = "0.1.3-preview.1"
features = ["bitmap"]
default-features = false

[dependencies.axbacktrace]
version = "0.1"
optional = true

[dependencies.axerrno]
version = "0.2"

[dependencies.buddy-slab-allocator]
version = "0.1.1"

[dependencies.cfg-if]
version = "1.0"

[dependencies.kspin]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.memory_addr]
version = "0.4"

[dependencies.percpu]
version = "0.2"
optional = true

[dependencies.strum]
version = "0.27.2"
features = ["derive"]
default-features = false