rss
rss copied to clipboard
Make ToXml public
Would it be possible to either make the toxml module public or add a pub use crate::toxml::ToXml
to lib.rs?
May you elaborate why this may be needed?
I want to encode individual items to xml. I'm subscribing to an RSS feed and will do a bunch of data processing on each item. I need to store the input for followup and possible reprocessing.
I could do that by pulling everything out to a struct of my own and use serde, however as from_xml
is already public on individual items it feels natural that the libray would allow me to du the mirror operation on individual items as well.
I think that from_xml
was made public mistakenly. It should be pub(crate)
.
A small bump to agree with the request of this issue.
I'm pretty sure many use case that involves replication of partial content of the RSS feeds would benefit from this.