PackageTrack
Sign in Get early access

maybe-owned

provides a `MaybeOwned` (and `MaybeOwnedMut`) type similar to std's `Cow` but it implements `From<T>` and `From<&'a T>` and does not require `ToOwned`

0.3.4 30M downloads/mo #1669 most downloaded on crates.io rustonaut/maybe-owned

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Ships fairly regularly

a new release about every 12 months

Most releases are documented

notes for 3 of 5 stable releases

Nothing withdrawn

no release was ever pulled

9 years old

5 releases · first in 2017

0 releases in the last 12 months

see the full history below

Release timeline

5 releases · May 2017 to May 2020
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 5
  1. 0.3.4 23 May 2020
    Release notes
    • Added make_owned() as a to_mut() replacement,
      but also available for MaybeOwnedMut and more
      clear in it's functionality.
    • Added a as_mut() method to MaybeOwned which
      return a Option<&mut T>
    • Added missing BorrowMut implementation
      for MaybeOwnedMut
    Open source →
  2. 0.3.3 22 May 2020
    Release notes
    • Added MaybeOwnedMut type which is like
      MaybeOwned but uses a &mut instead of
      a & reference.
    Open source →
  3. 0.3.2 08 Sep 2018
    Release notes

    Added transitive std::ops implementations

    Open source →
  4. 0.3.0 06 Sep 2017

    Nothing published for this version

  5. 0.2.0 17 May 2017

    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