From 61db0cdf9f34d6683f3b503ce484c55a2ff2369e Mon Sep 17 00:00:00 2001 From: Aaron Manning Date: Sat, 17 Feb 2024 08:37:08 +1100 Subject: [PATCH] relax condition on requiring length attribute --- src/rss.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rss.rs b/src/rss.rs index 1372646..57977bd 100644 --- a/src/rss.rs +++ b/src/rss.rs @@ -85,7 +85,7 @@ pub struct Enclosure<'a> { pub (crate) url : Cow<'a, str>, #[serde(rename = "$attr:type")] pub (crate) mime_type : Option>, - #[serde(rename = "$attr:length")] - pub (crate) length : Option, + //#[serde(rename = "$attr:length")] + //pub (crate) length : Option, }