beef::Cow<'a, T> is now a type alias for beef::generic::Cow<'a, T, Option<NonZeroUsize>>.
Added beef::lean::Cow<'a, T> which is a type alias for beef::generic::Cow<'a, T, Lean>, where Lean is a 0-sized struct. This version of the Cow stores length and capacity together on a single usize, and is only available for 64-bit targets.
Due to generic constraints const_fn now adds Cow::const_borrowed as a separate function. This is not available for beef::lean::Cow.
beef::Cow<'a, T>
is now a type alias forbeef::generic::Cow<'a, T, Option<NonZeroUsize>>
.beef::lean::Cow<'a, T>
which is a type alias forbeef::generic::Cow<'a, T, Lean>
, whereLean
is a 0-sized struct. This version of theCow
stores length and capacity together on a singleusize
, and is only available for 64-bit targets.const_fn
now addsCow::const_borrowed
as a separate function. This is not available forbeef::lean::Cow
.Beef
trait has been made private.