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
Releases
latest 8-
0.6.109 Dec 2025 -
0.6.001 Sep 2025Release notes
Open source →Changed
- Use pastey instead of paste which is no longer maintained. This also requires upgrading the MSRV to 1.54.
Release notes
Open source →Changed
- Use
pasteyinstead ofpastewhich is no longer maintained. This also requires upgrading the MSRV to 1.54.
-
0.5.015 Aug 2022 -
0.4.129 Jun 2022Release notes
Open source →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.
Release notes
Open source →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.
- Fix repository link in
-
0.4.024 Oct 2021Release notes
Open source →- Fix auto implementations for
OptionOpandOptionOpAssign. In previous version all the implementations required thatOp&OpAssignbe implemented, which was not consistent with documentation and otherOption*traits. Now, the user can implementOptionOpandOptionOpAssignon the inner type and automatically benefit from the implementations on the other variations. - Factorize code in macros.
Release notes
Open source →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.
- Fix auto implementations for
-
0.3.018 Oct 2021 -
0.2.015 Oct 2021Release notes
Open source →Add:
#[must_use]attributes where applicable.- Documentation for the associated types.
Release notes
Open source →Added
- #[must_use] attributes where applicable.
- Documentation for the associated types.
-
0.1.007 Oct 2021