Skip to content

Commit

Permalink
Add serde::Deserialize to CompatibilityId.
Browse files Browse the repository at this point in the history
  • Loading branch information
garretrieger committed Oct 7, 2024
1 parent 914053e commit b18cd41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions read-fonts/src/tables/ift.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use std::str;
pub const IFT_TAG: types::Tag = Tag::new(b"IFT ");
pub const IFTX_TAG: types::Tag = Tag::new(b"IFTX");

#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
#[derive(Clone, Debug, PartialEq, Eq, Default, Ord, PartialOrd, Hash)]
pub struct CompatibilityId([u8; 16]);

Expand Down

0 comments on commit b18cd41

Please sign in to comment.