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