[package] name = "malloc-array" description = "libc heap array allocator" version = "1.2.1" authors = ["Avril "] edition = "2018" license = "GPL-3.0-or-later" readme = "README.md" homepage = "https://github.com/notflan/rs-malloc-array" [features] default = ["zst_noalloc"] # Assume Rust will free things allocated with malloc() properly. assume_libc = [] # Do not allocate for ZSTs zst_noalloc = [] # Use jemalloc instead of libc malloc jemalloc = ["jemalloc-sys"] [dependencies] libc = "0.2" jemalloc-sys = { version = "0.3", optional = true }