jemallocator/jemallocator-global/Cargo.toml

55 lines
1.7 KiB
TOML
Raw Normal View History

2018-11-04 13:03:39 +00:00
[package]
name = "tikv-jemallocator-global"
# Make sure to update the version in the readme as well:
version = "0.4.0"
authors = [
"Gonzalo Brito Gadeschi <gonzalobg88@gmail.com>",
"The TiKV Project Developers",
]
edition = "2018"
2018-11-04 13:03:39 +00:00
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/tikv-jemallocator-global"
2018-11-04 13:03:39 +00:00
description = """
Sets `jemalloc` as the `#[global_allocator]`
"""
[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" }
2018-11-04 13:03:39 +00:00
maintenance = { status = "actively-developed" }
[dependencies]
tikv-jemallocator = { version = "0.4.0", path = "..", optional = true }
2018-11-04 13:03:39 +00:00
cfg-if = "0.1"
[features]
default = []
# Unconditionally sets jemalloc as the global allocator:
force_global_jemalloc = [ "tikv-jemallocator" ]
2018-11-04 13:03:39 +00:00
# To enable `jemalloc` as the `#[global_allocator]` by default
# for a particular target, white-list the target explicitly here:
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
tikv-jemallocator = { version = "0.4.0", path = "..", optional = false }
2018-11-04 13:03:39 +00:00
2019-04-05 14:19:10 +00:00
# FIXME: https://github.com/gnzlbg/jemallocator/issues/91
2018-11-04 13:03:39 +00:00
# [target.'cfg(target_os = "windows")'.dependencies]
# jemallocator = { path = ".." }
# `jemalloc` is known not to work on - see `jemalloc-sys/build.rs`.
# - rumprun
# - bitrig
# - redox
# - fuchsia
# - emscripten
# - wasm32