Skip to content

Commit d1aaba1

Browse files
committed
MimeType: Remove serde support
Too confusing, doesn't actually serialize to the actual MIME strings, just the enum variant names.
1 parent b2b33d5 commit d1aaba1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lofty/src/picture.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ pub const APE_PICTURE_TYPES: [&str; 21] = [
3838
];
3939

4040
/// MIME types for pictures.
41-
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
4241
#[derive(Debug, Clone, Eq, PartialEq, Hash)]
43-
#[allow(clippy::unsafe_derive_deserialize)]
4442
#[non_exhaustive]
4543
pub enum MimeType {
4644
/// PNG image

0 commit comments

Comments
 (0)