PackageTrack
Sign in Get early access

option-operations

Traits and auto-implementations to improve arithmetic operations usability when dealing with `Option`s.

0.6.1 5.3M downloads/mo #4393 most downloaded on crates.io fengalin/option-operations

What this package is like to depend on

Last release 8 months ago

09 Dec 2025

Ships unpredictably

gaps range from 1 weeks to 3.0 years

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

8 releases · first in 2021

2 releases in the last 12 months

see the full history below

Release timeline

8 releases · Oct 2021 to Dec 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 0.6.1 09 Dec 2025
    Release notes

    Changed

    • Update pastey to 0.2.0.
    Open source →
    Release notes
    • Update pastey to 0.2.0.
    Open source →
  2. 0.6.0 01 Sep 2025
    Release notes

    Changed

    • Use pastey instead of paste which is no longer maintained. This also requires upgrading the MSRV to 1.54.
    Open source →
    Release notes

    Changed

    • Use pastey instead of paste which is no longer maintained. This also requires upgrading the MSRV to 1.54.
    Open source →
  3. 0.5.0 15 Aug 2022
    Release notes

    Fixed

    • Fix prelude not exporting OptionEq.
    Open source →
    Release notes

    Fixed

    • Fix prelude not exporting OptionEq.
    Open source →
  4. 0.4.1 29 Jun 2022
    Release notes

    0.4.1 -- 2022-06-29

    Added

    • Fix repository link in Cargo.toml.
    • Specify Minimum Supported Rust Version.

    Fixed

    • Error: fix a typo in Display impl.

    Changed

    • Add forbid(unsafe_code) constraint.
    Open source →
    Release notes

    Added

    • Fix repository link in Cargo.toml.
    • Specify Minimum Supported Rust Version.

    Fixed

    • Error: fix a typo in Display impl.

    Changed

    • Add forbid(unsafe_code) constraint.
    Open source →
  5. 0.4.0 24 Oct 2021
    Release notes
    • Fix auto implementations for OptionOp and OptionOpAssign. In previous version all the implementations required that Op & OpAssign be implemented, which was not consistent with documentation and other Option* traits. Now, the user can implement OptionOp and OptionOpAssign on the inner type and automatically benefit from the implementations on the other variations.
    • Factorize code in macros.
    Open source →
    Release notes

    Fixed

    • Fix auto implementations for OptionOp and OptionOpAssign. In previous version all the implementations required that Op & OpAssign be implemented, which was not consistent with documentation and other Option* traits. Now, the user can implement OptionOp and OptionOpAssign on the inner type and automatically benefit from the implementations on the other variations.

    Changed

    • Factorize code in macros.
    Open source →
  6. 0.3.0 18 Oct 2021
    Release notes

    Don't export internal macros.

    Open source →
    Release notes

    Changed

    • Breaking: don't export internal macros.
    Open source →
  7. 0.2.0 15 Oct 2021
    Release notes

    Add:

    • #[must_use] attributes where applicable.
    • Documentation for the associated types.
    Open source →
    Release notes

    Added

    • #[must_use] attributes where applicable.
    • Documentation for the associated types.
    Open source →
  8. 0.1.0 07 Oct 2021
    Release notes

    First version with the most common operations.

    Open source →
    Release notes
    • First version with the most common operations.
    Open source →

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