diff --git a/psopacket/src/lib.rs b/psopacket/src/lib.rs index 03730b5..60c7459 100644 --- a/psopacket/src/lib.rs +++ b/psopacket/src/lib.rs @@ -421,6 +421,14 @@ pub fn pso_packet_data(input: TokenStream) -> TokenStream { } }; + let partialeq = generate_partialeq_impl(name.clone(), &attrs); + let debug = generate_debug_impl(name, &attrs); - impl_pso_data_packet.into() + let q = quote! { + #impl_pso_data_packet + #partialeq + #debug + }; + + q.into() }