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
26 lines
574 B
[package]
|
|
name = "malloc-array"
|
|
description = "libc heap array allocator"
|
|
version = "1.3.3"
|
|
authors = ["Avril <flanchan@cumallover.me>"]
|
|
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 }
|