[package]
name = "memapi2"
version = "0.4.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 = ["assumptions"]
const_max = ["const_extras"]
c_str = []
nightly = []
metadata = ["nightly"]
sized_hierarchy = ["nightly"]
clone_to_uninit = ["nightly"]
all_nightly = ["metadata", "clone_to_uninit"]
default_nightly = ["metadata", "clone_to_uninit"]
std = []
os_err_reporting = ["std"]
misc_traits = []
full = [
"misc_traits",
"const_max",
"c_str"
]
[[test]]
name = "base"
path = "tests/alloc.rs"
[[test]]
name = "dangerous"
path = "tests/potential_ub.rs"