Cargo Features

RpMalloc has no features set by default.

[dependencies]
rpmalloc = { version = "0.2.2", features = ["statistics", "validate_args", "asserts", "guards", "unlimited_cache", "unlimited_global_cache", "unlimited_thread_cache", "global_cache", "thread_cache", "adaptive_thread_cache"] }
statistics

Compile with ENABLE_STATISTICS=1

Enables statistics of rpmalloc-sys

validate_args

Compile with ENABLE_VALIDATE_ARGS=1

Enables validate_args of rpmalloc-sys

asserts

Compile with ENABLE_ASSERTS=1

Enables asserts of rpmalloc-sys

guards

Compile with ENABLE_GUARDS=1

Enables guards of rpmalloc-sys

unlimited_cache

Compile with ENABLE_UNLIMITED_CACHE=1

Enables unlimited_cache of rpmalloc-sys

unlimited_global_cache

Compile with ENABLE_UNLIMITED_GLOBAL_CACHE=1

Enables unlimited_global_cache of rpmalloc-sys

unlimited_thread_cache

Compile with ENABLE_UNLIMITED_THREAD_CACHE=1

Enables unlimited_thread_cache of rpmalloc-sys

global_cache

Compile with ENABLE_GLOBAL_CACHE=1

Enables global_cache of rpmalloc-sys

thread_cache

Compile with ENABLE_THREAD_CACHE=1

Enables thread_cache of rpmalloc-sys

adaptive_thread_cache

Compile with ENABLE_ADAPTIVE_THREAD_CACHE=1

Enables adaptive_thread_cache of rpmalloc-sys