[dependencies.cfg-if]
version = "1.0.0"
[dependencies.dlmalloc]
features = ["global"]
optional = true
version = "0.2.1"
[dependencies.ethereum-types]
optional = true
version = "0.11.0"
[dependencies.hashbrown]
optional = true
version = "0.9"
[dependencies.impl-trait-for-tuples]
version = "0.2.0"
[dependencies.libmimalloc-sys]
optional = true
version = "0.1.14"
[dependencies.lru]
optional = true
version = "0.6"
[dependencies.mimalloc]
optional = true
version = "0.1.18"
[dependencies.parity-util-mem-derive]
version = "0.1"
[dependencies.parking_lot]
optional = true
version = "0.11.1"
[dependencies.primitive-types]
default-features = false
optional = true
version = "0.9"
[dependencies.smallvec]
optional = true
version = "1.0.0"
[dependencies.wee_alloc]
optional = true
version = "0.4.5"
[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 = ["jemallocator"]
mimalloc-global = ["mimalloc", "libmimalloc-sys"]
std = ["parking_lot"]
weealloc-global = ["wee_alloc", "estimate-heapsize"]
[package]
authors = ["Parity Technologies <admin@parity.io>"]
build = "build.rs"
description = "Collection of memory related utilities"
edition = "2018"
license = "MIT OR Apache-2.0"
links = "parity-util-mem-ban-duplicates"
name = "parity-util-mem"
repository = "https://github.com/paritytech/parity-common"
version = "0.9.0"
[target."cfg(not(target_os = \"windows\"))".dependencies.jemallocator]
optional = true
version = "0.3.2"
[target."cfg(target_os = \"windows\")".dependencies.winapi]
features = ["heapapi"]
version = "0.3.8"