forked from gnzlbg/jemallocator
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathCargo.toml
More file actions
65 lines (58 loc) · 2.01 KB
/
Cargo.toml
File metadata and controls
65 lines (58 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[package]
name = "tikv-jemallocator"
# Make sure to update the version in the README as well:
version = "0.6.0"
authors = [
"Alex Crichton <alex@alexcrichton.com>",
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
"Simon Sapin <simon.sapin@exyr.org>",
"Steven Fackler <sfackler@gmail.com>",
"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]
preinterpret = "0.2.0"
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"]
disable_cache_oblivious = ["tikv-jemalloc-sys/disable_cache_oblivious"]
[package.metadata.docs.rs]
features = []
rustdoc-args = ["--cfg", "jemallocator_docs"]