jemalloc-sys - Rust bindings to the jemalloc C library

![Travis-CI Status] ![Appveyor Status] ![Latest Version] ![docs]

Note: the Rust allocator API is implemented for jemalloc in the jemallocator crate.

Documentation

jemalloc is a general purpose memory allocator, its documentation

can be found here:

Current jemalloc version: 5.1.

Platform support

See the platform support of the jemallocator crate.

Features

Most features correspond to jemalloc features - the reference is jemalloc/INSTALL.md.

Cargo features

This crate provides following cargo feature flags:

Environment variables

jemalloc options taking values are passed via environment variables using the schema JEMALLOC_SYS_{KEY}=VALUE where the KEY names correspond to the ./configure options of jemalloc where the words are capitalized and the hyphens - are replaced with underscores _(see jemalloc/INSTALL.md):

License

This project is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in jemalloc-sys by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.