[package]
name = "mem_dbg"
version = "0.2.4"
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]
mem_dbg-derive = { version = "=0.1.6", optional = true }
mmap-rs = {version="0.6.0", 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}
[dev-dependencies]
paste = "1.0.15"
[features]
default = ["std", "derive"]
std = ["alloc"]
derive = ["mem_dbg-derive"]
offset_of_enum = []
alloc = []