[package]
name = "memapi2"
version = "0.7.0"
edition = "2018"
rust-version = "1.56.0"
authors = ["echohumm"]
description = "A no_std/no-alloc-friendly memory allocation interface for raw buffers, with improved error reporting."
license = "GPL-3.0 OR MIT"
repository = "https://github.com/echohumm/memapi"
keywords = ["allocator", "no_std", "memory", "allocation"]
categories = ["no-std::no-alloc", "memory-management"]
include = [
"src/**",
"build.rs",
"Cargo.toml",
"README.md",
]
build = "build.rs"
[package.metadata.docs.rs]
features = ["full"]
[badges]
docsrs = { status = "passing" }
maintenance = { status = "actively-developed" }
[profile.bench]
opt-level = 3
lto = true
codegen-units = 1
debug = false
overflow-checks = false
incremental = false
[profile.dev]
incremental = false
[features]
default = []
dev = []
assumptions = ["const_extras"]
const_extras = []
const_max = ["const_extras"]
c_str = []
nightly = []
metadata = ["nightly"]
sized_hierarchy = ["nightly"]
all_nightly = ["metadata", "sized_hierarchy"]
std = []
os_err_reporting = ["std"]
full = [
"os_err_reporting",
"const_max",
"c_str"
]
full_nightly = ["full", "all_nightly"]
[dependencies]
rustversion = "1.0.22"
[[test]]
name = "base"
path = "tests/alloc.rs"
[[test]]
name = "hlp"
path = "tests/helpers.rs"