axallocator 0.1.3-preview.1

Various allocator algorithms in a unified interface
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 = "2021"
name = "axallocator"
version = "0.1.3-preview.1"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "Yu Chen <yuchen@tsinghua.edu.cn>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Various allocator algorithms in a unified interface"
homepage = "https://github.com/arceos-org/arceos"
documentation = "https://arceos-org.github.io/allocator"
readme = "README.md"
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/allocator"

[features]
allocator_api = []
axerrno = ["dep:axerrno"]
bitmap = ["dep:bitmap-allocator"]
buddy = ["dep:buddy_system_allocator"]
default = ["page-alloc-256m"]
full = [
    "bitmap",
    "tlsf",
    "slab",
    "buddy",
    "allocator_api",
    "page-alloc-256m",
]
page-alloc-1t = []
page-alloc-256m = []
page-alloc-4g = []
page-alloc-64g = []
slab = ["dep:ax_slab_allocator"]
tlsf = ["dep:rlsf"]

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

[[test]]
name = "allocator"
path = "tests/allocator.rs"

[[bench]]
name = "collections"
path = "benches/collections.rs"
harness = false

[dependencies.ax_slab_allocator]
version = "0.3.2-preview.1"
optional = true

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

[dependencies.bitmap-allocator]
version = "0.2"
optional = true

[dependencies.buddy_system_allocator]
version = "0.10"
optional = true
default-features = false

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

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

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

[dev-dependencies.rand]
version = "0.8"
features = ["small_rng"]