[dependencies.arrayvec]
default-features = false
optional = true
version = "0.7.4"
[dependencies.bitvec]
optional = true
version = "1.0.1"
[dependencies.chrono]
default-features = false
optional = true
version = "0.4.31"
[dependencies.dashmap]
features = ["raw-api"]
optional = true
version = "5.5.3"
[dependencies.extract_map]
optional = true
version = "0.1.0"
[dependencies.halfbrown]
default-features = false
optional = true
version = "0.2.4"
[dependencies.hashbrown]
default-features = false
optional = true
version = "0.14.2"
[dependencies.mini-moka]
default-features = false
optional = true
version = "0.10.2"
[dependencies.nonmax]
optional = true
version = "0.5.5"
[dependencies.parking_lot]
default-features = false
optional = true
version = "0.12.1"
[dependencies.secrecy]
optional = true
version = "0.8.0"
[dependencies.serde_json]
optional = true
version = "1"
[dependencies.simd-json]
default-features = false
optional = true
version = "0.13"
[dependencies.time]
default-features = false
optional = true
version = "0.3.30"
[dependencies.typesize-derive]
version = "=0.1.10"
[dependencies.url]
default-features = false
optional = true
version = "2.4"
[dependencies.web-time]
optional = true
version = "1.1.0"
[features]
arrayvec = ["dep:arrayvec", "halfbrown?/arraybackend"]
bitvec = ["dep:bitvec"]
chrono = ["dep:chrono"]
dashmap = ["dep:dashmap", "mini-moka?/sync", "hashbrown"]
default = ["std"]
details = ["typesize-derive/details"]
extract_map_01 = ["dep:extract_map"]
halfbrown = ["dep:halfbrown", "hashbrown"]
hashbrown = ["dep:hashbrown"]
mini_moka = ["dep:mini-moka"]
nonmax = ["dep:nonmax"]
parking_lot = ["dep:parking_lot"]
saturating_impls = []
secrecy = ["dep:secrecy"]
serde_json = ["dep:serde_json"]
simd_json = ["dep:simd-json", "halfbrown"]
std = []
time = ["dep:time"]
url = ["dep:url"]
web-time = ["dep:web-time"]
[lib]
name = "typesize"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools", "no-std"]
description = "A library to fetch an accurate estimate of the total memory usage of a value."
edition = "2021"
keywords = ["memory", "optimisation", "derive"]
license = "MIT"
name = "typesize"
readme = "README.md"
repository = "https://github.com/GnomedDev/typesize"
rust-version = "1.65"
version = "0.1.10"
[package.metadata.docs.rs]
all-features = true
[[test]]
name = "details"
path = "tests/details.rs"
[[test]]
name = "enum_derive"
path = "tests/enum_derive.rs"
[[test]]
name = "ptr_size"
path = "tests/ptr_size.rs"
[[test]]
name = "struct_derive"
path = "tests/struct_derive.rs"