You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
574 B

5 years ago
[package]
name = "malloc-array"
description = "libc heap array allocator"
5 years ago
version = "1.2.2"
5 years ago
authors = ["Avril <flanchan@cumallover.me>"]
edition = "2018"
5 years ago
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/notflan/rs-malloc-array"
5 years ago
[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 }