blockscout / actix-prost

Actix route generator for gRPC server
MIT License
5 stars 1 forks source link

Derive `Eq` trait along with `PartialEq` #1

Closed rimrakhimov closed 2 years ago

rimrakhimov commented 2 years ago

Starting from 1.63.0, cargo clippy added a new check derive_partial_eq_without_eq that checks for types that derive PartialEq and could implement Eq.

At the same time, structs generated from proto file derive PartialEq but do not derive Eq. That makes cargo clippy to fail when including generated files.

image

leviska commented 2 years ago

https://github.com/hyperium/tonic/issues/1056