[package]
edition = "2021"
name = "gear-dlmalloc"
version = "0.2.1"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Gear Technologies",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A Rust port of the dlmalloc allocator
"""
homepage = "https://github.com/gear-tech/dlmalloc-rust"
documentation = "https://docs.rs/gear-dlmalloc"
readme = "README.md"
license = "MIT/Apache-2.0"
repository = "https://github.com/gear-tech/dlmalloc-rust"
[package.metadata.docs.rs]
features = ["global"]
[features]
checks = ["debug"]
debug = []
default = ["global"]
global = []
verbose = []
[lib]
name = "gear_dlmalloc"
path = "src/lib.rs"
doctest = false
[[example]]
name = "hello"
path = "examples/hello.rs"
[[test]]
name = "global"
path = "tests/global.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[dependencies.compiler_builtins]
version = "0.1.0"
optional = true
[dependencies.core]
version = "1.0.0"
optional = true
package = "rustc-std-workspace-core"
[dependencies.static_assertions]
version = "1.1"
[dependencies.str-buf]
version = "3.0.2"
[dev-dependencies.rand]
version = "0.8.5"
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies.libc]
version = "0.2.101"
default-features = false
[target.'cfg(all(unix, not(target_arch = "wasm32")))'.dependencies.libc-print]
version = "0.1"
[target.'cfg(not(target_family = "wasm"))'.dependencies.page_size]
version = "0.6.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(test_lots)"]