Cargo Features

[dependencies]
vproxy = { version = "1.0.0", default-features = false, features = ["jemalloc", "tcmalloc", "snmalloc", "rpmalloc", "mimalloc"] }
default = mimalloc

The mimalloc feature is set by default whenever vproxy is added without default-features = false somewhere in the dependency tree.

jemalloc = jemallocator
tcmalloc

Enables bundled of tcmalloc

for memory allocator

snmalloc = snmalloc-rs
rpmalloc

Enables rpmalloc

mimalloc default

Enables mimalloc

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

snmalloc-rs snmalloc?
jemallocator jemalloc?

Enables tikv-jemallocator