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.
- Adds sparse set + id implementation
- Adds
TypedSparseSet, the main sparse set implementation +NetworkedSetwhich combines two sparse sets with the same id type but different key spaces for the case of client + server replication - Adds
IdAllocatorfor allocating ids intoTypedSparseSet/NetworkedSet - Adds
SetIdtrait +define_id!macro to create your own id types
- Adds
LinearMap::newandLinearSet::neware nowconst- Uses
foldhashinstead ofahashas default hasher.
- Fixed
linear_map::serde_as_seqto be namedserde_as_mapas it should.
- Changed
serdeimplementations for maps to be as sequences of(k,v)pairs by default rather than as serde maps. - Swap
serde_as_seqadapters toserde_as_mapto mirror the above change
- Implement
OrdandPartialOrdforLinearSet
- Implement
HashforLinearSet
- Upgrade
indexmapv1.9 -> v2.0 - Changed
OrderedMap::get_index_mutto return the key as&Kinstead of&mut K - Added
LinearMap::truncateandLinearSet::truncate - Added
LinearMap::as_slice