diff --git a/xso/ChangeLog b/xso/ChangeLog index 3ca914a1..de26a71c 100644 --- a/xso/ChangeLog +++ b/xso/ChangeLog @@ -6,6 +6,7 @@ Version NEXT: * Changes - Fix some Clippy warnings - Fix build with minidom and without std (!661) + - Fix no_std build * Added - xso::from_bytes_with_options and xso::from_reader_with_options to allow passing custom parser configuration. diff --git a/xso/src/lib.rs b/xso/src/lib.rs index a2eb3fdd..299c5873 100644 --- a/xso/src/lib.rs +++ b/xso/src/lib.rs @@ -702,6 +702,7 @@ fn read_start_event_io( )) } +#[cfg(feature = "std")] fn from_reader_inner( mut reader: rxml::XmlLangTracker>, ) -> io::Result {