About The Project
This project is a fork of auto_ops.
Like the upstream, auto_ops_det provides macros for easy operator overloading, with more features.
Usage
Same as original.
License
The original auto_ops is licensed under
- MIT License (LICENSE.txt)
Original readme of auto_ops
auto_ops

Macros for easy operator overloading.
This library is forked from the original impl_ops by brianwp3000.
This library makes writing multiple impl std::ops::<op> blocks much faster, especially when you want operators defined for both owned and borrowed variants of the inputs.
To use, import the macros with use auto_ops::*;. Remember that you can only overload operators between one or more types defined in the current crate (respecting Rust orphan rules).
Examples
use *;
impl_op_ex!;
impl_op_ex!;
Roadmap
With Rust lifetime inference changes, implementations for generic (over types and lifetimes) impls are being worked on.