[dependencies.cfg-if]
version = "1.0.0"
[dependencies.dlmalloc]
features = ["global"]
optional = true
version = "0.2.1"
[dependencies.ethereum-types]
optional = true
version = "0.14.0"
[dependencies.hashbrown]
optional = true
version = "0.12"
[dependencies.impl-trait-for-tuples]
version = "0.2.0"
[dependencies.libmimalloc-sys]
optional = true
version = "0.1.14"
[dependencies.lru]
optional = true
version = "0.8"
[dependencies.mimalloc]
optional = true
version = "0.1.18"
[dependencies.parity-util-mem-derive]
version = "0.1"
[dependencies.parking_lot]
optional = true
version = "0.12.0"
[dependencies.primitive-types]
default-features = false
optional = true
version = "0.12"
[dependencies.smallvec]
optional = true
version = "1.0.0"
[features]
default = ["std", "ethereum-impls", "lru", "hashbrown", "smallvec", "primitive-types"]
dlmalloc-global = ["dlmalloc", "estimate-heapsize"]
estimate-heapsize = []
ethereum-impls = ["ethereum-types", "primitive-types"]
jemalloc-global = ["tikv-jemallocator", "tikv-jemalloc-ctl"]
mimalloc-global = ["mimalloc", "libmimalloc-sys"]
std = ["parking_lot"]
[package]
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
description = "Collection of memory related utilities"
edition = "2021"
license = "MIT OR Apache-2.0"
links = "parity-util-mem-ban-duplicates"
name = "parity-util-mem"
readme = "README.md"
repository = "https://github.com/paritytech/parity-common"
rust-version = "1.56.1"
version = "0.12.0"
[target.'cfg(not(target_os = "windows"))'.dependencies.tikv-jemalloc-ctl]
optional = true
version = "0.5.0"
[target.'cfg(not(target_os = "windows"))'.dependencies.tikv-jemallocator]
optional = true
version = "0.5.0"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
features = ["heapapi"]
version = "0.3.8"