#xml #webdav #http #rfc4918

webdav-xml

XML elements and (de)serialization for WebDAV

1 unstable release

0.1.0 Feb 15, 2024

#17 in #webdav


Used in webdav-meta

MIT/Apache

59KB
1.5K SLoC

webdav-xml

Definitions and (de)serialization for WebDAV XML elements as defined in RFC 4918.

Since WebDAV uses XML namespaces and supports custom elements in the <DAV:prop /> element, we can't rely on e. g. serde to (de)serialize XML elements.

Instead, this crate uses the Element trait to define an element and FromXml/IntoXml for (de)serialization.

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4.5MB
~80K SLoC