diff --git a/cln-rpc/src/model.rs b/cln-rpc/src/model.rs index fe6348663..772eb220a 100644 Binary files a/cln-rpc/src/model.rs and b/cln-rpc/src/model.rs differ diff --git a/contrib/msggen/msggen/gen/rust.py b/contrib/msggen/msggen/gen/rust.py index 8cfdd66f0..dc9d09d48 100644 --- a/contrib/msggen/msggen/gen/rust.py +++ b/contrib/msggen/msggen/gen/rust.py @@ -85,7 +85,7 @@ def gen_enum(e): if e.deprecated: decl += "#[deprecated]\n" - decl += f"#[derive(Copy, Clone, Debug, Deserialize, Serialize, PartialEq)]\npub enum {e.typename} {{\n" + decl += f"#[derive(Copy, Clone, Debug, Deserialize, Serialize, PartialEq, Eq)]\npub enum {e.typename} {{\n" for v in e.variants: if v is None: continue