nice-assert-no-alloc 1.0.0

Custom Rust allocator allowing to temporarily disable memory (de)allocations for a thread. Aborts or prints a warning if allocating although forbidden.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[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