Skip to content

Commit

Permalink
ifaces: add serde implementation for SchemaIfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 18, 2023
1 parent af2af95 commit e512508
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions std/src/interface/iimpl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ impl<T: SchemaTypeIndex> NamedType<T> {
#[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<IfaceId, IfaceImpl>,
Expand Down

0 comments on commit e512508

Please sign in to comment.