[package]
edition = "2024"
rust-version = "1.100.0"
name = "bdwgc-alloc"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "impl GlobalAlloc and Allocator for bdwgc"
documentation = "https://bdwgc.github.io/bdwgc-rust/bdwgc_alloc/"
readme = "README.md"
categories = [
"api-bindings",
"memory-management",
"no-std",
"no-std::no-alloc",
]
license = "MIT"
repository = "https://github.com/bdwgc/bdwgc-rust"
[features]
autotools = ["bdwgc-alloc-sys/autotools"]
cmake = ["bdwgc-alloc-sys/cmake"]
default = ["autotools"]
[lib]
name = "bdwgc_alloc"
path = "src/lib.rs"
[[test]]
name = "allocator"
path = "tests/allocator.rs"
harness = false
[[test]]
name = "allocator_api"
path = "tests/allocator_api.rs"
harness = false
[dependencies.bdwgc-alloc-sys]
version = "0.7.0"
default-features = false
[lints.cargo]
unused_dependencies = "deny"
unused_workspace_dependencies = "deny"
[lints.clippy]
alloc_instead_of_core = "deny"
dbg_macro = "deny"
missing_const_for_fn = "deny"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
[lints.rust]
missing_docs = "deny"
warnings = "deny"