[package]
edition = "2024"
rust-version = "1.86"
name = "bomalloc"
version = "0.3.1"
build = false
include = [
"src/**",
"include/**",
"examples/**",
"benches/**",
"tests/**",
"docs/**",
"/Cargo.toml",
"/README.md",
"/CHANGELOG.md",
"/CONTRIBUTING.md",
"/RELEASING.md",
"/LICENSE-APACHE",
"/LICENSE-MIT",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A fragmentation-aware experimental allocator built around address-span ownership"
documentation = "https://docs.rs/bomalloc"
readme = "README.md"
keywords = [
"allocator",
"memory",
"concurrency",
"lock-free",
"fragmentation",
]
categories = [
"memory-management",
"concurrency",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/kb5000/bomalloc"
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
[features]
debug-validate = []
default = []
[lib]
name = "bomalloc"
crate-type = [
"rlib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[[example]]
name = "global_allocator"
path = "examples/global_allocator.rs"
[[test]]
name = "allocator"
path = "tests/allocator.rs"
[[test]]
name = "c_abi"
path = "tests/c_abi.rs"
[[test]]
name = "global_allocator"
path = "tests/global_allocator.rs"
[[test]]
name = "loom_model"
path = "tests/loom_model.rs"
[[bench]]
name = "c_abi"
path = "benches/c_abi.rs"
harness = false
[[bench]]
name = "global_api"
path = "benches/global_api.rs"
harness = false
[[bench]]
name = "multithread"
path = "benches/multithread.rs"
harness = false
[[bench]]
name = "profile_hot"
path = "benches/profile_hot.rs"
harness = false
[[bench]]
name = "throughput"
path = "benches/throughput.rs"
harness = false
[dependencies.crossbeam-epoch]
version = "0.9.18"
[dev-dependencies.loom]
version = "0.7.2"
[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2.175"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.2"
features = [
"Win32_Foundation",
"Win32_System_Memory",
"Win32_System_SystemInformation",
"Win32_System_Threading",
]