Currently this should not be considered production-ready.
haz-alloc is a general-purpose allocator written in Rust, inspired by jemalloc.
This crate requires the nightly version of Rust.
Supported platforms by haz-alloc.
| Platform | Supported | Tested (C.I.) |
|---|---|---|
| Windows | ✔️ | ✔️ |
| Linux | ✔️ | ✔️ |
| Mac OS | ❌ | ❌ |
| Other Unix-like | Untested | ❌ |
If you want to use on some platform that haz-alloc does not support, you
can use haz-alloc-core, that implements the allocator, and provide the
system functions it uses.
Do not depend on both haz-alloc and haz-alloc-core on the same crate.
haz-alloc may bump its haz-alloc-core depedency major version while
only bumping its minor version, which will cause breakage if both are
being depended on.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.