[package] name = "tikv-jemallocator" # Make sure to update the version in the README as well: version = "0.6.0" authors = [ "Alex Crichton ", "Gonzalo Brito Gadeschi ", "Simon Sapin ", "Steven Fackler ", "The TiKV Project Developers", ] license = "MIT/Apache-2.0" readme = "README.md" keywords = ["allocator", "jemalloc"] categories = ["memory-management", "api-bindings"] repository = "https://github.com/tikv/jemallocator" homepage = "https://github.com/tikv/jemallocator" documentation = "https://docs.rs/jemallocator" description = """ A Rust allocator backed by jemalloc """ edition = "2018" [badges] travis-ci = { repository = "tikv/jemallocator" } codecov = { repository = "tikv/jemallocator" } is-it-maintained-issue-resolution = { repository = "tikv/jemallocator" } is-it-maintained-open-issues = { repository = "tikv/jemallocator" } maintenance = { status = "actively-developed" } [lib] test = false bench = false [[test]] name = "ffi" required-features = ["stats"] [dependencies] tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.6.0", default-features = false } libc = { version = "^0.2.8", default-features = false } [dev-dependencies] paste = "1" #tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.6.0" } [features] default = ["background_threads_runtime_support"] alloc_trait = [] profiling = ["tikv-jemalloc-sys/profiling"] debug = ["tikv-jemalloc-sys/debug"] stats = ["tikv-jemalloc-sys/stats"] background_threads_runtime_support = ["tikv-jemalloc-sys/background_threads_runtime_support"] background_threads = ["tikv-jemalloc-sys/background_threads"] unprefixed_malloc_on_supported_platforms = ["tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms"] disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls"] [package.metadata.docs.rs] features = [] rustdoc-args = [ "--cfg", "jemallocator_docs" ]