1 unstable release
0.1.5 | Aug 29, 2024 |
---|
#69 in Profiling
2,133 downloads per month
Used in 3 crates
83KB
2.5K
SLoC
Size Of
A crate for measuring the total memory usage of an object at runtime
Features
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 disabledsize-of
is#![no_std]
compatible)derive
: Enables support for#[derive(SizeOf)]
(enabled by default)time
: Enables support for thetime
cratetime-std
: Enables support fortime
'sstd
feature
chrono
: Enables support for thechrono
cratehashbrown
: Enables support for thehashbrown
cratefxhash
: Enables support for thefxhash
craterust_decimal
: Enables support for therust_decimal
crateordered-float
: Enables support for theordered-float
crateahash
: Enables support for theahash
crateahash-std
: Enables support forahash
'sstd
feature
xxhash-rust
: Enables support for thexxhash-rust
cratexxhash-xxh32
: Enables support forxxhhash-rust
'sxxh32
featurexxhash-xxh64
: Enables support forxxhhash-rust
'sxxh64
featurexxhash-xxh3
: Enables support forxxhhash-rust
'sxxh3
feature
bigdecimal
: Enables support for thebigdecimal
cratenum-bigint
: Enables support for thenum-bigint
crate
Dependencies
~0–6MB
~29K SLoC