relax condition on requiring length attribute

This commit is contained in:
Aaron Manning 2024-02-17 08:37:08 +11:00
parent 05134a76db
commit 61db0cdf9f

View File

@ -85,7 +85,7 @@ pub struct Enclosure<'a> {
pub (crate) url : Cow<'a, str>,
#[serde(rename = "$attr:type")]
pub (crate) mime_type : Option<Cow<'a, str>>,
#[serde(rename = "$attr:length")]
pub (crate) length : Option<u64>,
//#[serde(rename = "$attr:length")]
//pub (crate) length : Option<u64>,
}