xso: fix build on no_std
This commit is contained in:
parent
d0b28a94b0
commit
a90d9fafb6
2 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ Version NEXT:
|
||||||
* Changes
|
* Changes
|
||||||
- Fix some Clippy warnings
|
- Fix some Clippy warnings
|
||||||
- Fix build with minidom and without std (!661)
|
- Fix build with minidom and without std (!661)
|
||||||
|
- Fix no_std build
|
||||||
* Added
|
* Added
|
||||||
- xso::from_bytes_with_options and xso::from_reader_with_options to allow
|
- xso::from_bytes_with_options and xso::from_reader_with_options to allow
|
||||||
passing custom parser configuration.
|
passing custom parser configuration.
|
||||||
|
|
|
||||||
|
|
@ -702,6 +702,7 @@ fn read_start_event_io(
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "std")]
|
||||||
fn from_reader_inner<T: FromXml, R: io::BufRead>(
|
fn from_reader_inner<T: FromXml, R: io::BufRead>(
|
||||||
mut reader: rxml::XmlLangTracker<rxml::Reader<R>>,
|
mut reader: rxml::XmlLangTracker<rxml::Reader<R>>,
|
||||||
) -> io::Result<T> {
|
) -> io::Result<T> {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue