talaia-labs / rust-teos

The Eye of Satoshi - Lightning Watchtower
https://talaia-labs.github.io/talaia.watch/
MIT License
135 stars 63 forks source link

Disable clippy::derive_partial_eq_without_eq in protos #94

Closed sr-gi closed 2 years ago

sr-gi commented 2 years ago

Clippy for Rust 1.63.0 raises a lint warning regarding structures implementing PartialEq but not Eq: https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

The autogenerated code from the common protos does fall into this constrain. However, the current recommended solution from the prost team is to disable the check: https://github.com/tokio-rs/prost/issues/661

mariocynicys commented 2 years ago

ACK 3d816cc