diff --git a/jemallocator/README.md b/jemallocator/README.md index 43e00d106..207a51d55 100644 --- a/jemallocator/README.md +++ b/jemallocator/README.md @@ -69,8 +69,14 @@ other targets are only tested on Rust nightly. ## Features -The `tikv-jemallocator` crate re-exports the [features of the `tikv-jemalloc-sys` -dependency](https://github.com/tikv/jemallocator/blob/master/jemalloc-sys/README.md). +This crate provides following cargo feature flags: + +* `alloc_trait` When the `alloc_trait` feature of this crate is enabled, it also implements the `Alloc` trait, allowing usage in collections. + +* `default` feature is `background_threads_runtime_support`. + +* The `tikv-jemallocator` crate re-exports the [features of the `tikv-jemalloc-sys` +dependency](https://github.com/tikv/jemallocator/blob/master/jemalloc-sys/README.md#features). ## License