All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
- Implemented
SizeOf
forcore::ffi::c_void
- Implemented
SizeOf
forstd::fs::{DirEntry, File, FileType, Metadata, OpenOptions, Permissions}
- Added support for the
portable-simd
Rust feature, adds support for thecore::simd::Simd<T>
andcore::simd::Mask<T>
family of types (requires nightly compiler) - Added support for the structs of
core::arch::{x86, x86_64, arm, aarch64, wasm, powerpc, powerpc64}
(powerpc
andpowerpc64
require thestdsimd
feature) - Added the
stdsimd
feature flag which implementsSizeOf
for experimental simd types withincore::arch
- Implemented
SizeOf
forcore::num::FpCategory
0.1.5 - 2023-02-23
- Implemented
SizeOf
forstd::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6}
- Added support for the
bigdecimal
crate under thebigdecimal
feature - Added support for the
num-bigint
crate under thenum-bigint
feature
- Implemented
SizeOf
forNonNull<T>
whereT: ?Sized
- Updated the
hashbrown
crate
- Made
Box
,Vec
,VecDeque
andBinaryHeap
not log allocations when they contain ZSTs
0.1.4 - 2022-11-04
- Implemented
SizeOf
forcore::any::TypeId
- Made
SizeOf
impls forContext
,TotalSize
andHumanBytes
unconditional (were previously dependent on thederive
feature) derive(SizeOf)
now partially normalizes types and doesn't emit bounds forfn
types
0.1.3 - 2022-10-21
- Support for the
xxhash-rust
crate with thexxhash-xxh32
,xxhash-xxh64
andxxhash-xxh3
features for the associatedxxh32
,xxh64
andxxh3
features withinxxhash-rust
0.1.2 - 2022-10-12
- Implemented
SizeOf
forstd::hash::BuildHasherDefault
- Support for the
arcstr
crate under thearcstr
feature - Support for the
hashbrown
crate under thehashbrown
feature - Support for the
fxhash
crate under thefxhash
feature - Support for the
rust_decimal
crate under therust_decimal
feature - Support for the
ordered-float
crate under theordered-float
feature - Support for the
ahash
crate under theahash
feature (along with theahash-std
feature for whenahash
has itsstd
feature enabled) - Support for the
time
crate under thetime
feature along with thetime-std
feature for enabling support fortime
'sstd
feature - Support for the
chrono
crate under thechrono
feature