-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCargo.toml
36 lines (32 loc) · 1.67 KB
/
Cargo.toml
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
[package]
name = "rpmalloc"
version = "0.2.2"
description = "Cross-platform global memory allocator using rpmalloc"
authors = ["Embark <opensource@embark-studios.com>", "Johan Andersson <repi@repi.se>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EmbarkStudios/rpmalloc-rs"
edition = "2018"
keywords = ["allocator", "rpmalloc"]
categories = ["memory-management", "api-bindings"]
readme = "README.md"
[workspace]
members = [
"rpmalloc-sys",
]
[lib]
doctest = false
test = false
[dependencies]
rpmalloc-sys = { version = "0.2.2", path = "rpmalloc-sys", features = ["preload"] }
[features]
default = []
statistics = ["rpmalloc-sys/statistics"] # Compile with ENABLE_STATISTICS=1
validate_args = ["rpmalloc-sys/validate_args"] # Compile with ENABLE_VALIDATE_ARGS=1
asserts = ["rpmalloc-sys/asserts"] # Compile with ENABLE_ASSERTS=1
guards = ["rpmalloc-sys/guards"] # Compile with ENABLE_GUARDS=1
unlimited_cache = ["rpmalloc-sys/unlimited_cache"] # Compile with ENABLE_UNLIMITED_CACHE=1
unlimited_global_cache = ["rpmalloc-sys/unlimited_global_cache"] # Compile with ENABLE_UNLIMITED_GLOBAL_CACHE=1
unlimited_thread_cache = ["rpmalloc-sys/unlimited_thread_cache"] # Compile with ENABLE_UNLIMITED_THREAD_CACHE=1
global_cache = ["rpmalloc-sys/global_cache"] # Compile with ENABLE_GLOBAL_CACHE=1
thread_cache = ["rpmalloc-sys/thread_cache"] # Compile with ENABLE_THREAD_CACHE=1
adaptive_thread_cache = ["rpmalloc-sys/adaptive_thread_cache"] # Compile with ENABLE_ADAPTIVE_THREAD_CACHE=1