Simple tool for compile-time check trait
cargo add --dev checktrait
Check implementation with checktrait::* macros. The macro will fail to compile if the object/type does not implement the trait.
checktrait::*
checktrait::ty!(MyTrait, MyType); checktrait::obj!(MyTrait, MyObj);