jemallocator/Cargo.toml
Steven Fackler 9a1a1a7353 Fix bg_thread feature
background threads were previously always disabled since cargo upper
cases feature names. jemallocator also enabled default features on
jemalloc-sys.
2018-06-24 21:28:19 +02:00

33 lines
785 B
TOML

[package]
name = "jemallocator"
version = "0.1.8"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT/Apache-2.0"
readme = "README.md"
keywords = ["allocator"]
repository = "https://github.com/alexcrichton/jemallocator"
homepage = "https://github.com/alexcrichton/jemallocator"
documentation = "https://docs.rs/jemallocator"
description = """
A Rust allocator backed by jemalloc
"""
[lib]
test = false
bench = false
[workspace]
members = ["systest"]
[dependencies]
jemalloc-sys = { path = "jemalloc-sys", version = "0.1.6", default-features = false }
libc = "0.2.8"
[features]
alloc_trait = []
default = ["bg_thread"]
profiling = ["jemalloc-sys/profiling"]
debug = ["jemalloc-sys/debug"]
bg_thread = ["jemalloc-sys/bg_thread"]
no_prefix = ["jemalloc-sys/no_prefix"]