[meta] Wishlist for smallvec 2.0
mbrubeck opened this issue · comments
Matt Brubeck commented
These are changes that weren't ready in time for 1.0 (#73).
Requires newer version of Rust than current minimum (1.36):
- Use const generics to change
SmallVec<[T; N]>
toSmallVec<T, N>
. Remove theArray
trait. (#240, Rust 1.51). - Use the
union
representation by default and remove the optionalunion
feature added in #94 (Rust 1.49). - Make
SmallVec::new
aconst fn
(#263).
Depends on unstable Rust features:
- Support custom allocators (#55, rust-lang/rust#32838).
- Use specialization to optimize
extend
,insert_many
, andfrom
for slices ofCopy
types. Deprecate and removeextend_from_slice
,insert_from_slice
, andfrom_slice
(rust-lang/rust#31844). - Implement the
Error
trait without requiringstd
(#355, rust-lang/rust#103765).
Breaking API changes: