Cargo Features

rpmalloc-sys has no features set by default.

[dependencies]
rpmalloc-sys = { version = "0.2.3+b097fd0", features = ["preload", "statistics", "validate_args", "asserts", "guards", "unlimited_cache", "unlimited_global_cache", "unlimited_thread_cache", "global_cache", "thread_cache", "adaptive_thread_cache"] }
preload

Compile with ENABLE_PRELOAD=1

statistics

Compile with ENABLE_STATISTICS=1

validate_args

Compile with ENABLE_VALIDATE_ARGS=1

asserts

Compile with ENABLE_ASSERTS=1

guards

Compile with ENABLE_GUARDS=1

unlimited_cache

Compile with ENABLE_UNLIMITED_CACHE=1

unlimited_global_cache

Compile with ENABLE_UNLIMITED_GLOBAL_CACHE=1

unlimited_thread_cache

Compile with ENABLE_UNLIMITED_THREAD_CACHE=1

global_cache

Compile with ENABLE_GLOBAL_CACHE=1

thread_cache

Compile with ENABLE_THREAD_CACHE=1

adaptive_thread_cache

Compile with ENABLE_ADAPTIVE_THREAD_CACHE=1