[package]
name = "basic_allocator"
version = "0.1.6"
description = "A very simple global allocator written in pure Rust"
repository = "https://github.com/wackywendell/basicalloc"
documentation = "https://docs.rs/basic_allocator"
license-file = "LICENSE"
readme = "README.md"
authors = ["Wendell Smith <wackywendell@gmail.com>"]
edition = "2018"
[features]
default = []
use_libc = ["libc", "sysconf", "errno"]
[dependencies]
libc = {version = "0.2", optional = true }
sysconf = {version = "0.3", optional = true }
errno = {version = "0.2", optional = true }
static_assertions = "1.1"
spin = "0.5"
[dev-dependencies]
log = "0.4"
test-env-log = "0.2"
env_logger = "0.7"
rand = "0.7"