jemallocator/jemalloc-sys/Cargo.toml
June 86e924870d
set --disable-stats if stats feature is not enabled (#82)
jemalloc defaults to enabling stats if `--enable-stats` is not
present and `--disable-stats` was not set: fa451de17f/configure.ac (L1331-L1333)

the stats feature was always enabled by default and never
respected if someone were to remove the stats feature as
no logic was added for setting `--disable-stats`. to avoid
breaking other user's setups who are relying on this behaviour,
set stats as a default feature.

Signed-off-by: strawberry <strawberry@puppygock.gay>
2024-05-10 10:41:40 +08:00

47 lines
1.3 KiB
TOML

[package]
name = "tikv-jemalloc-sys"
version = "0.5.4+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
"The TiKV Project Developers",
]
build = "build.rs"
links = "jemalloc"
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/tikv/jemallocator"
homepage = "https://github.com/tikv/jemallocator"
documentation = "https://docs.rs/tikv-jemallocator-sys"
keywords = ["allocator", "jemalloc"]
description = """
Rust FFI bindings to jemalloc
"""
edition = "2018"
[badges]
codecov = { repository = "tikv/jemallocator" }
is-it-maintained-issue-resolution = { repository = "tikv/jemallocator" }
is-it-maintained-open-issues = { repository = "tikv/jemallocator" }
maintenance = { status = "actively-developed" }
[dependencies]
libc = { version = "^0.2.8", default-features = false }
[build-dependencies]
cc = "^1.0.13"
[features]
default = ["stats", "background_threads_runtime_support"]
profiling = []
debug = []
background_threads_runtime_support = []
background_threads = [ "background_threads_runtime_support" ]
stats = []
unprefixed_malloc_on_supported_platforms = []
disable_initial_exec_tls = []
disable_cache_oblivious = []
[package.metadata.docs.rs]
rustdoc-args = [ "--cfg", "jemallocator_docs" ]