Move Error, helpers and macros into a util module.
This commit is contained in:
parent
2a7cf487a4
commit
409a1dafa9
46 changed files with 98 additions and 107 deletions
11
src/lib.rs
11
src/lib.rs
|
|
@ -26,20 +26,11 @@
|
|||
|
||||
pub use minidom::Element;
|
||||
|
||||
/// Error type returned by every parser on failure.
|
||||
pub mod error;
|
||||
/// XML namespace definitions used through XMPP.
|
||||
pub mod ns;
|
||||
|
||||
/// Various helpers.
|
||||
mod helpers;
|
||||
/// Helper macros to parse and serialise more easily.
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
#[cfg(test)]
|
||||
/// Namespace-aware comparison for tests
|
||||
mod compare_elements;
|
||||
mod util;
|
||||
|
||||
/// RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core
|
||||
pub mod bind;
|
||||
|
|
|
|||
Loading…
Reference in a new issue