TimelyDataflow / abomonation

A mortifying serialization library for Rust
MIT License
317 stars 30 forks source link

Add feature to make smallvec abomonable #45

Open markbt opened 1 year ago

markbt commented 1 year ago

Add a new feature, smallvec, which, when specified, provides an implementation of Abomonation for smallvec.

The implementation is based on the implementation for Vec, taking into account the case where the smallvector might be unspilled, in which case we do not need to entomb or exhume the vector contents as they have been stored inline.