Crates.io | size-of |
lib.rs | size-of |
version | 0.1.5 |
source | src |
created_at | 2022-09-12 15:47:27.616162 |
updated_at | 2023-02-23 17:02:17.525184 |
description | A crate for measuring the total memory usage of an object |
homepage | |
repository | https://github.com/Kixiron/size-of |
max_upload_size | |
id | 663874 |
size | 90,364 |
A crate for measuring the total memory usage of an object at runtime
size-of
has built-in support for many 3rd party crates that can be enabled with feature flags
std
: Enables support for the rust standard library (enabled by default, when disabled size-of
is #![no_std]
compatible)derive
: Enables support for #[derive(SizeOf)]
(enabled by default)time
: Enables support for the time
crate
time-std
: Enables support for time
's std
featurechrono
: Enables support for the chrono
cratehashbrown
: Enables support for the hashbrown
cratefxhash
: Enables support for the fxhash
craterust_decimal
: Enables support for the rust_decimal
crateordered-float
: Enables support for the ordered-float
crateahash
: Enables support for the ahash
crate
ahash-std
: Enables support for ahash
's std
featurexxhash-rust
: Enables support for the xxhash-rust
crate
xxhash-xxh32
: Enables support for xxhhash-rust
's xxh32
featurexxhash-xxh64
: Enables support for xxhhash-rust
's xxh64
featurexxhash-xxh3
: Enables support for xxhhash-rust
's xxh3
feature