[package]
edition = "2018"
rust-version = "1.46.0"
name = "memapi2"
version = "0.9.2"
authors = ["echohumm"]
build = "build.rs"
include = [
"src/**",
"build.rs",
"Cargo.toml",
"README.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A no_std/no-alloc-friendly memory allocation interface for raw buffers, with improved error reporting."
readme = "README.md"
keywords = [
"allocator",
"no_std",
"no_alloc",
"memory",
"allocation",
]
categories = [
"no-std::no-alloc",
"memory-management",
]
license = "GPL-3.0 OR MIT"
repository = "https://github.com/echohumm/memapi"
[package.metadata.docs.rs]
features = ["full"]
[badges.docsrs]
status = "passing"
[badges.maintenance]
status = "actively-developed"
[features]
all_nightly = [
"metadata",
"sized_hierarchy",
]
alloc_mut_traits = []
alloc_temp_trait = []
c_alloc = []
c_str = []
catch_unwind = [
"stack_alloc",
"std",
]
default = []
dev = []
full = [
"c_str",
"full_msrv",
]
full_msrv = [
"alloc_mut_traits",
"c_alloc",
"catch_unwind",
"os_err_reporting",
]
full_nightly = [
"all_nightly",
"full",
]
metadata = []
no_alloc = []
no_nightly = []
os_err_reporting = ["std"]
sized_hierarchy = []
stack_alloc = [
"alloc_temp_trait",
"c_alloc",
"cc",
]
std = []
[lib]
name = "memapi2"
path = "src/lib.rs"
[dependencies.rustversion]
version = "1.0.22"
[build-dependencies.cc]
version = "=1.0.79"
optional = true
[build-dependencies.rustversion]
version = "1.0.22"