parsers: re-export xso::error::FromElementError
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
653a10b170
commit
621c5882cf
2 changed files with 3 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ pub use sha3;
|
|||
|
||||
// We normally only reexport entire crates, but xso is a special case since it uses proc macros
|
||||
// which require it to be directly imported as a crate. The only useful symbol we have to reexport
|
||||
// is its error type, which we expose in all of our return types.
|
||||
pub use xso::error::Error;
|
||||
// are its error types, which we expose in our return types.
|
||||
pub use xso::error::{Error, FromElementError};
|
||||
|
||||
/// XML namespace definitions used through XMPP.
|
||||
pub mod ns;
|
||||
|
|
|
|||
Loading…
Reference in a new issue