-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
postcard::to_stdvecis 100% equivalent topostcard::to_allocvecpostcard::to_stdvec_cobsis equivalent topostcard::to_allocvec_cobspostcard::to_stdvec_crc32is equivalent topostcard::to_allocvec_crc32postcard::ser_flavors::StdVecis exactly the same type aspostcard::ser_flavors::AllocVec
On every target platform, Rust compiler, and Cargo feature combination where someone can use a "stdvec" API, the identical "allocvec" API is also available and behaves exactly the same. Having 2 names for the same functionality bloats the API and misleadingly implies that there might be some difference.
It is possible that separating "stdvec" and "allocvec" used to make sense for compilers older than 1.36.0 (2019) where extern crate alloc was not yet stable, but this has not been the case since postcard 0.3.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels