mirror of
https://github.com/girlbossceo/jemallocator.git
synced 2024-12-04 20:03:45 +00:00
86e924870d
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>
47 lines
1.3 KiB
TOML
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" ]
|