memapi2 0.2.0

A no_std/no-alloc-friendly memory allocation interface for raw buffers, with improved error reporting.
Documentation
[package]
name = "memapi2"
version = "0.2.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 = ["assumptions"]

# meta features
dev = []

# msrv-changing features
## that make small changes
assumptions = []
const_extras = ["assumptions"]
const_max = ["const_extras"]
c_str = []

# nightly support
nightly = []
metadata = ["nightly"]
sized_hierarchy = ["nightly"]
clone_to_uninit = ["nightly"]

all_nightly = ["metadata", "clone_to_uninit"]

default_nightly = ["metadata", "clone_to_uninit"]

# std support
std = []

# specific std features
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"