1[package]
2name = "tikv-jemallocator"
3# Make sure to update the version in the README as well:
4version = "0.6.0"
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/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[[test]]
36name = "ffi"
37required-features = ["stats"]
38
39[dependencies]
40tikv-jemalloc-sys = { path = "../jemalloc-sys", version = "0.6.0", default-features = false }
41libc = { version = "^0.2.8", default-features = false }
42
43[dev-dependencies]
44paste = "1"
45#tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.6.0" }
46
47[features]
48default = ["background_threads_runtime_support"]
49alloc_trait = []
50profiling = ["tikv-jemalloc-sys/profiling"]
51debug = ["tikv-jemalloc-sys/debug"]
52stats = ["tikv-jemalloc-sys/stats"]
53background_threads_runtime_support = ["tikv-jemalloc-sys/background_threads_runtime_support"]
54background_threads = ["tikv-jemalloc-sys/background_threads"]
55unprefixed_malloc_on_supported_platforms = ["tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms"]
56disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls"]
57
58[package.metadata.docs.rs]
59features = []
60rustdoc-args = [ "--cfg", "jemallocator_docs" ]
61