[package]
name = "mem_dbg"
version = "0.1.8"
edition = "2021"
description = "Traits and associated procedural macros to display recursively the layout and memory usage of a value"
repository = "https://github.com/zommiommy/mem_dbg/"
license = "Apache-2.0 OR LGPL-2.1-or-later"
readme = "README.md"
keywords = ["allocation", "debug", "memory"]
authors = ["Tommaso Fontana <tommaso.fontana.96@gmail.com>", "Sebastiano Vigna <sebastiano.vigna@unimi.it>"]
[dependencies]
mmap-rs = {version="0.6.0", optional=true}
mem_dbg-derive = { version = "=0.1.3", optional = true }
half = { version = "2.0.4", optional = true }
bitflags = "2.4.1"
rand = {version = "0.8.5", optional = true, features = ["small_rng"]}
maligned = {version="0.2.1", optional = true}
[features]
default = ["std", "mmap-rs", "half", "rand", "maligned", "derive"]
derive = ["mem_dbg-derive"]
std = ["alloc"]
alloc = []