1[package]
2name = "tikv-jemallocator"
3# Make sure to update the version in the README as well:
4version = "0.4.1"
5authors = [
6    "Alex Crichton <alex@alexcrichton.com>",
7    "Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
8    "Simon Sapin <simon.sapin@exyr.org>",
9    "Steven Fackler <sfackler@gmail.com>",
10    "The TiKV Project Developers",
11]
12license = "MIT/Apache-2.0"
13readme = "README.md"
14keywords = ["allocator", "jemalloc"]
15categories = ["memory-management", "api-bindings"]
16repository = "https://github.com/tikv/jemallocator"
17homepage = "https://github.com/tikv/jemallocator"
18documentation = "https://docs.rs/tikv-jemallocator"
19description = """
20A Rust allocator backed by jemalloc
21"""
22edition = "2018"
23
24[badges]
25travis-ci = { repository = "tikv/jemallocator" }
26codecov = { repository = "tikv/jemallocator" }
27is-it-maintained-issue-resolution = { repository = "tikv/jemallocator" }
28is-it-maintained-open-issues = { repository = "tikv/jemallocator" }
29maintenance = { status = "actively-developed" }
30
31[lib]
32test = false
33bench = false
34
35[workspace]
36members = ["systest", "jemallocator-global", "jemalloc-ctl", "jemalloc-sys" ]
37
38[dependencies]
39tikv-jemalloc-sys = { path = "jemalloc-sys", version = "0.4.0", default-features = false }
40libc = { version = "^0.2.8", default-features = false }
41
42[dev-dependencies]
43paste = "0.1"
44tikv-jemalloc-ctl = { path = "jemalloc-ctl", version = "0.4" }
45
46[features]
47default = ["background_threads_runtime_support"]
48alloc_trait = []
49profiling = ["tikv-jemalloc-sys/profiling"]
50debug = ["tikv-jemalloc-sys/debug"]
51stats = ["tikv-jemalloc-sys/stats"]
52background_threads_runtime_support = ["tikv-jemalloc-sys/background_threads_runtime_support"]
53background_threads = ["tikv-jemalloc-sys/background_threads"]
54unprefixed_malloc_on_supported_platforms = ["tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms"]
55disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls"]
56
57[package.metadata.docs.rs]
58features = []
59rustdoc-args = [ "--cfg", "jemallocator_docs" ]
60