parsers: add streamable parsing
This adds shims which provide FromXml and IntoXml implementations to *all* macro-generated types in `xmpp_parsers`. Mind that this does not cover all types in `xmpp_parsers`, but a good share of them. This is another first step toward real, fully streamed parsing.
This commit is contained in:
parent
14a1d66bf8
commit
cb3da52ba2
7 changed files with 131 additions and 0 deletions
|
|
@ -20,6 +20,11 @@ use of this library in parsing XML streams like specified in RFC 6120.
|
|||
pub mod error;
|
||||
pub mod minidom_compat;
|
||||
|
||||
#[doc(hidden)]
|
||||
pub mod exports {
|
||||
pub use rxml;
|
||||
}
|
||||
|
||||
/// Trait allowing to consume a struct and iterate its contents as
|
||||
/// serialisable [`rxml::Event`] items.
|
||||
pub trait IntoXml {
|
||||
|
|
|
|||
Loading…
Reference in a new issue