1 | [package] |
2 | name = "tikv-jemallocator" |
3 | # Make sure to update the version in the README as well: |
4 | version = "0.6.0" |
5 | authors = [ |
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 | ] |
12 | license = "MIT/Apache-2.0" |
13 | readme = "README.md" |
14 | keywords = ["allocator" , "jemalloc" ] |
15 | categories = ["memory-management" , "api-bindings" ] |
16 | repository = "https://github.com/tikv/jemallocator" |
17 | homepage = "https://github.com/tikv/jemallocator" |
18 | documentation = "https://docs.rs/jemallocator" |
19 | description = "" " |
20 | A Rust allocator backed by jemalloc |
21 | " "" |
22 | edition = "2018" |
23 | |
24 | [badges] |
25 | travis-ci = { repository = "tikv/jemallocator" } |
26 | codecov = { repository = "tikv/jemallocator" } |
27 | is-it-maintained-issue-resolution = { repository = "tikv/jemallocator" } |
28 | is-it-maintained-open-issues = { repository = "tikv/jemallocator" } |
29 | maintenance = { status = "actively-developed" } |
30 | |
31 | [lib] |
32 | test = false |
33 | bench = false |
34 | |
35 | [[test]] |
36 | name = "ffi" |
37 | required-features = ["stats" ] |
38 | |
39 | [dependencies] |
40 | tikv-jemalloc-sys = { path = "../jemalloc-sys" , version = "0.6.0" , default-features = false } |
41 | libc = { version = "^0.2.8" , default-features = false } |
42 | |
43 | [dev-dependencies] |
44 | paste = "1" |
45 | #tikv-jemalloc-ctl = { path = "../jemalloc-ctl", version = "0.6.0" } |
46 | |
47 | [features] |
48 | default = ["background_threads_runtime_support" ] |
49 | alloc_trait = [] |
50 | profiling = ["tikv-jemalloc-sys/profiling" ] |
51 | debug = ["tikv-jemalloc-sys/debug" ] |
52 | stats = ["tikv-jemalloc-sys/stats" ] |
53 | background_threads_runtime_support = ["tikv-jemalloc-sys/background_threads_runtime_support" ] |
54 | background_threads = ["tikv-jemalloc-sys/background_threads" ] |
55 | unprefixed_malloc_on_supported_platforms = ["tikv-jemalloc-sys/unprefixed_malloc_on_supported_platforms" ] |
56 | disable_initial_exec_tls = ["tikv-jemalloc-sys/disable_initial_exec_tls" ] |
57 | |
58 | [package.metadata.docs.rs] |
59 | features = [] |
60 | rustdoc-args = [ "--cfg" , "jemallocator_docs" ] |
61 | |