From 621c5882cf514ff40ac8add8049eb37fe9f57687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 14 Aug 2025 15:24:09 +0200 Subject: [PATCH] parsers: re-export xso::error::FromElementError MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- parsers/ChangeLog | 1 + parsers/src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/parsers/ChangeLog b/parsers/ChangeLog index d1750000fb5847937954b9374c1c485c9a319795..4cabf6d38486fd904baca83e6c760c436bfcd189 100644 --- a/parsers/ChangeLog +++ b/parsers/ChangeLog @@ -119,6 +119,7 @@ XXXX-YY-ZZ RELEASER to clone automatically when performance is not an issue (!497) - Fix compatibility to uuid 1.12 - Implement Default for Tune + - Re-export xso::error::FromElementError. Version 0.21.0: 2024-07-25 Emmanuel Gil Peyrot diff --git a/parsers/src/lib.rs b/parsers/src/lib.rs index 47d1fe63285d0637ee17eba82819039aec103850..05ef0b28e50c92ad08934ac14f24893d0332b949 100644 --- a/parsers/src/lib.rs +++ b/parsers/src/lib.rs @@ -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;