[go: up one dir, main page]

typesize 0.1.3

A library to fetch an accurate estimate of the total memory usage of a value.
Documentation
[package]
name = "typesize"
description = "A library to fetch an accurate estimate of the total memory usage of a value."
repository = "https://github.com/GnomedDev/typesize"
version = "0.1.3"
edition = "2021"
license = "MIT"

[dependencies]
parking_lot = { version = "0.12.1", default-features = false, optional = true }
hashbrown = { version = "0.14.2", default-features = false, optional = true }
mini-moka = { version = "0.10.2", default-features = false, optional = true }
halfbrown = { version = "0.2.4", default-features = false, optional = true }
simd-json = { version = "0.13", default-features = false, optional = true }
arrayvec = { version = "0.7.4", default-features = false, optional = true }
chrono = { version = "0.4.31", default-features = false, optional = true }
dashmap = { version = "5.5.3", features = ["raw-api"], optional = true }
time = { version = "0.3.30", default-features = false, optional = true }
url = { version = "2.4", default-features = false, optional = true }
secrecy = { version = "0.8.0", optional = true }
serde_json = { version = "1", optional = true }
typesize-derive = { version = "0.1.3" }

[features]
details = ["typesize-derive/details"]

dashmap = ["dep:dashmap", "mini-moka?/sync", "hashbrown"]
arrayvec = ["dep:arrayvec", "halfbrown?/arraybackend"]
simd_json = ["dep:simd-json", "halfbrown"]
halfbrown = ["dep:halfbrown", "hashbrown"]
parking_lot = ["dep:parking_lot"]
serde_json = ["dep:serde_json"]
mini_moka = ["dep:mini-moka"]
hashbrown = ["dep:hashbrown"]
secrecy = ["dep:secrecy"]
chrono = ["dep:chrono"]
time = ["dep:time"]
url = ["dep:url"]

[package.metadata.docs.rs]
all-features = true