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
585 B
26 lines
585 B
[package]
|
|
name = "malloc-array"
|
|
description = "libc heap array allocator"
|
|
version = "0.1.0"
|
|
authors = ["Avril <flanchan@cumallover.me>"]
|
|
edition = "2018"
|
|
license = "GPL v3"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[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 }
|