PackageTrack
Sign in Get early access

beef

More compact Cow

0.5.2 68M downloads/mo #1028 most downloaded on crates.io maciejhirsz/beef

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 10 months

Some releases are documented

notes for 10 of 17 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

17 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

17 releases · Mar 2020 to May 2022
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 17
  1. 0.5.2 27 May 2022
    Release notes
    • Fix to pointer provenance for owned Cow<str> (#47), thanks to @Nilstrieb.
    Open source →
    Release notes

    0.5.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 0.5.1 22 Jul 2021
    Release notes
    • The Deserialize implementation for beef::Cow<str> using the impl_serde feature is now specialized, and will produced a borrowed variant if possible, which is particularly useful for serde_json (see #44).
    • const_fn feature is internally using a narrower unstable feature gate const_fn_trait_bound (see #41).
    • Clarified documentation and doc tests to specify that beef::lean::Cow is two words wide on 64-bit architectures only.
    Open source →
    Release notes

    0.5.1

    Compare

    Choose a tag to compare

    Open source →
  3. 0.5.0 26 Jan 2021
    Release notes
    • Fixed soundness issues around the Sync and Send markers (#37, #38. #39).
    • Added Unpin impl (#39).
    Open source →
    Release notes

    0.5.0

    Compare

    Choose a tag to compare

    Open source →
  4. 0.4.4 02 May 2020
    Release notes
    • Implemented Default on Cow (#32).
    Open source →
    Release notes

    0.4.4

    Compare

    Choose a tag to compare

    Open source →
  5. 0.4.3 22 Apr 2020
    Release notes
    • Added PartialOrd and Ord, and fixed Eq impls (#28, #29).
    Open source →
    Release notes

    0.4.3

    Compare

    Choose a tag to compare

    Open source →
  6. 0.4.2 31 Mar 2020
    Release notes
    • const_str and const_slice are now available for both beef::Cow and beef::lean::Cow.
    • const_str no longer requires nightly and is available without a feature flag.
    Open source →
    Release notes

    0.4.2

    Compare

    Choose a tag to compare

    Open source →
  7. 0.4.1 21 Mar 2020
    Release notes
    Open source →
    Release notes

    0.4.1

    Compare

    Choose a tag to compare

    Open source →
  8. 0.4.0 18 Mar 2020
    Release notes
    • Fixed a memory leak in beef::lean::Cow, found thanks to Miri and @RalfJung.
    • Added impl_serde feature which provides a Serialize and Deserialize trait implementations.
    • Added is_borrowed and is_owned methods.
    • beef::Cow<'a, T> is now a type alias to beef::generic::Cow<'a, T, Wide> where Wide is private. This doesn't change anything, merely hides Option<NonZeroUsize> as implementation detail and makes errors more readable.
    • Due to internal refactoring, const_fn feature now adds two separate functions instead of one: const_str and const_slice for borrowing &'static str and &'static [T] respectively. This is the only breaking change this release.
    Open source →
    Release notes

    0.4.0

    Compare

    Choose a tag to compare

    Open source →
  9. 0.3.0 17 Mar 2020
    Release notes
    • 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.
    Open source →
    Release notes

    0.3.0

    Compare

    Choose a tag to compare

    Open source →
  10. 0.2.1 14 Mar 2020
    Release notes
    • Reworked pointer casting in owned_from_parts.
    Open source →
    Release notes

    0.2.1

    Compare

    Choose a tag to compare

    Open source →
  11. 0.2.0 14 Mar 2020

    Nothing published for this version

  12. 0.1.5 14 Mar 2020

    Nothing published for this version

  13. 0.1.4 14 Mar 2020

    Nothing published for this version

  14. 0.1.3 14 Mar 2020

    Nothing published for this version

  15. 0.1.2 13 Mar 2020

    Nothing published for this version

  16. 0.1.1 12 Mar 2020

    Nothing published for this version

  17. 0.1.0 12 Mar 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive