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.
- Support for
std::sync::Weak
andstd::rc::Weak
has been added.
- Support for arbitrary arrays using const generics has been added under the
const-generics
feature. - Support for
Box<[T: DataSize]>
andBox<str>
has been added. - Support for structs with default values in generic parameters has been added.
- Support for
AssertUnwindSafe<T>
andReverse<T>
has been added. - Support for
BinaryHeap
has been added.
Replaces 0.2.12
, which was yanked.
Refer to the correction of the datasize_derive
crate in datasize
dependencies.
- There are no longer
Sized
trait bounds onT
on alldata_size
functions (thanks, @s3bk). - Memory usage estimation for
HashSet
andHashMap
has been improved, now reflects the actual hashbrown implementation used in the Rust stdlib (thanks, @SimonSapin).
- An enum variant with no fields will no longer cause a compilation failiure when deriving
DataSize
.
This (and previous) versions of datasize-rs
did not include a CHANGELOG.md
.