[package]
name = "nice-assert-no-alloc"
version = "1.0.0"
authors = ["Florian Jung <flo@windfis.ch>"]
edition = "2018"
license = "BSD-1-Clause"
description = "Custom Rust allocator allowing to temporarily disable memory (de)allocations for a thread. Aborts or prints a warning if allocating although forbidden."
repository = "https://github.com/BillyDM/nice-assert-no-alloc"
readme = "README.md"
keywords = ["allocator", "real-time", "debug", "audio"]
categories = ["development-tools::debugging"]
[features]
default = ["disable_release"]
warn_debug = []
warn_release = []
disable_release = []
backtrace = ["dep:backtrace"]
log = ["dep:log"]
[dependencies]
backtrace = { version = "0.3", optional = true }
log = { version = "0.4", optional = true }
[package.metadata.docs.rs]
features = ["warn_debug"]