diff --git a/std/src/interface/iimpl.rs b/std/src/interface/iimpl.rs index 3d2fb4fd..a22b3c60 100644 --- a/std/src/interface/iimpl.rs +++ b/std/src/interface/iimpl.rs @@ -161,6 +161,11 @@ impl NamedType { #[derive(Clone, Eq, PartialEq, Debug)] #[derive(StrictType, StrictDumb, StrictEncode, StrictDecode)] #[strict_type(lib = LIB_NAME_RGB_STD)] +#[cfg_attr( + feature = "serde", + derive(Serialize, Deserialize), + serde(crate = "serde_crate", rename_all = "camelCase") +)] pub struct SchemaIfaces { pub schema: SubSchema, pub iimpls: TinyOrdMap,