[package]
edition = "2018"
rust-version = "1.46.0"
name = "memapi2"
version = "0.12.1"
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]
__dev = []
alloc_checked_trait = []
alloc_temp_trait = []
c_alloc = []
catch_unwind = [
"stack_alloc",
"std",
]
default = []
full = [
"c_alloc",
"alloc_checked_trait",
"stack_alloc",
]
full_nightly = [
"metadata",
"full",
]
full_nightly_std = [
"full_nightly",
"full_std",
]
full_std = [
"full",
"catch_unwind",
"os_err_reporting",
]
metadata = []
no_alloc = []
no_nightly = []
os_err_reporting = ["std"]
stack_alloc = [
"alloc_temp_trait",
"c_alloc",
"cc",
]
std = []
wip_stdlib_data = []
[lib]
name = "memapi2"
path = "src/lib.rs"
[dependencies.bitflags]
version = "=1.3.2"
[dependencies.libc]
version = "=0.2.163"
default-features = false
[dependencies.rustversion]
version = "=1.0.22"
[build-dependencies.cc]
version = "=1.0.83"
optional = true
[build-dependencies.libc]
version = "=0.2.163"
default-features = false
[build-dependencies.rustversion]
version = "=1.0.22"