Skip to content

0.3.0

Choose a tag to compare

@maciejhirsz maciejhirsz released this 17 Mar 07:25
· 26 commits to master since this release
c1197ee
  • 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 trait has been made private.