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