xspf: straightforward implementation of the XML Sharable Playlist Format in pure rust
goals:
- performant
- lenient while parsing
- strict while serializing
- minimal dependancies
- useful documentation
- minimal allocations when printing
limitations:
- does not handle URIs. users of this library should make an effort to properly resolve relative URIs for tags such as
<location>
. - only deals with UTF-8 documents.
overview
the core type is Playlist.
all field names are taken from the spec, however camelCase names have been changed to snake_case.
example
//! simple example: append a track to a playlist, giving proper credit.
use ;
use ;