PackageTrack
Sign in Get early access

xml-rs

An XML library in pure Rust

1.0.0 137M downloads/mo #662 most downloaded on crates.io kornelski/xml-rs

What this package is like to depend on

Last release 17 days ago

06 Aug 2026

Release timing varies

gaps range from 4 weeks to 9 months

Most releases are documented

notes for 10 of 12 stable releases

68 versions withdrawn

withdrawn after publishing

12 years old

80 releases · first in 2014

2 releases in the last 12 months

see the full history below

Release timeline

80 releases · Dec 2014 to Aug 2026
2015 2017 2019 2021 2023 2025
Release Pre-release Withdrawn

Releases

latest 60 of 80
  1. 1.0.0 25 Aug 2025
    Release notes
    • Added Doctype event
    • Marked structs as #[non_exhaustive]
    • Merged ParserConfig2 back into ParserConfig
    • Added option to the writer to pass through XML markup unmodified
    • xml-analyze binary has been moved to examples
    • Writer escapes -- in comments and ]]> in CDATA
    Open source →
  2. 1.0.0-rc.2 11 Jul 2025 pre-release withdrawn

    Nothing published for this version

  3. 0.8.29 06 Aug 2026

    Nothing published for this version

  4. 0.8.28 27 Oct 2025

    Nothing published for this version

  5. 0.8.27 09 Jul 2025
    Release notes
    • Added detection of invalid <? in attributes
    Open source →
  6. 0.8.26 09 Apr 2025
    Release notes
    • Fixed buffering of files with a broken UTF-16 encoding
    Open source →
  7. 0.8.25 07 Jan 2025
    Release notes
    • TryFrom for converting from reader to writer events, to make .as_writer_event() more discoverable.
    Open source →
  8. 0.8.24 03 Dec 2024
    Release notes
    • Fixed reporting of line/column position of CDATA when trimming whitespace
    Open source →
  9. 0.8.23 06 Nov 2024
    Release notes
    • StartDocument event will consistently use uppercase "UTF-8" name for encoding when the document did not declare it expicitly, but beware that documents can still use lowercase encoding names, so you must always use case-insensitive comparisons.
    Open source →
  10. 0.8.22 09 Sep 2024
    Release notes
    • Ability to retrieve the whole DOCTYPE. For backwards compatibility, it's a getter on the reader, not an event.
    Open source →
  11. 0.8.21 05 Aug 2024
    Release notes
    • Added EventWriter::inner_ref
    • ~15% performance improvement
    Open source →
  12. 0.8.20 31 Mar 2024
    Release notes
    • Fixed escaping of literal ]]> in CDATA
    Open source →
  13. 0.8.19 23 Sep 2023 withdrawn
    Release notes
    • Fixed whitespace event when parsing DOCTYPE with internal subset
    Open source →
  14. 0.8.18 08 Sep 2023 withdrawn
    Release notes
    • Option to tolerate invalid entities and chars
    Open source →
  15. 0.8.17 04 Sep 2023 withdrawn
    Release notes
    • Added configuration for document size/complexity limits.
    Open source →
  16. 0.8.16 19 Jul 2023 withdrawn
    Release notes
    • Fixed error line numbers when parsing CDATA as characters
    Open source →
  17. 0.8.15 02 Jul 2023 withdrawn
    Release notes
    • Improved speed of parsing elements with huge number of arguments
    Open source →
  18. 0.8.15-cvss-cries-wolf 13 Jun 2023 pre-release withdrawn

    Nothing published for this version

  19. 0.8.14 02 Jun 2023 withdrawn
    Release notes
    • Fixed error line numbers when ignoring comments
    Open source →
  20. 0.8.13 22 May 2023 withdrawn
    Release notes
    • Backward-compatibility fix
    Open source →
  21. 0.8.12 22 May 2023 withdrawn
    Release notes
    • Improved conformance of parsing invalid codepoints, XML prolog
    • Reduced number of allocations
    Open source →
  22. 0.8.11 15 May 2023 withdrawn
    Release notes
    • Improved conformance of PI
    • Forbidden invalid multiple root elements, unless an option allowing them is enabled.
    Open source →
  23. 0.8.10 11 May 2023 withdrawn
    Release notes
    • Improved parsing conformance
    • Internal error handling improvements
    Open source →
  24. 0.8.9 09 May 2023 withdrawn
    Release notes
    • Added support for UTF-16 and ASCII
    • Fixed CDATA parsing
    • Added PE entities parsing
    Open source →
  25. 0.8.8 08 May 2023 withdrawn
    Release notes
    • Added recursive entity expansion (with length protection)
    • Expanded parsing of DTD
    Open source →
  26. 0.8.7 06 May 2023 withdrawn
    Release notes
    • Basic parsing of DTD internal subset
    • Speed improvements
    Open source →
  27. 0.8.6 06 May 2023 withdrawn
    Release notes
    • Fixed parsing of incorrectly nested comments and processing instructions
    Open source →
  28. 0.8.5 04 May 2023 withdrawn
    Release notes
    • Updated source code to edition 2018 and fixed/updated some Rust idioms.
    Open source →
  29. 0.8.4 29 Jul 2021
    Release notes
    • Fixed recognition of ?>, ]]> and /> tokens as characters.
    • Fixed writer output operations to use write_all to ensure that the data is written fully.
    • The document declaration is now written before any characters automatically.
    Open source →
  30. 0.8.3 27 Apr 2020 withdrawn
    Release notes
    • Added a new parser option, ignore_root_level_whitespace, which makes the parser skip emitting whitespace events outside of the root element when set to true. This helps with certain tasks like canonicalization.
    Open source →
  31. 0.8.2 06 Apr 2020 withdrawn
    Release notes
    • Added a new parser option, replace_unknown_entity_references, which allows to ignore invalid Unicode code points and replace them with a Unicode "replacement character" during parsing. This can be helpful to deal with e.g. UTF-16 surrogate pairs.
    • Added a new emitter option, pad_self_closing, which determines the style of the self-closing elements when they are emitted: <a /> (true) vs <a/> (false).
    Open source →
  32. 0.8.1 31 Mar 2020 withdrawn
    Release notes
    • Fixed various issues with tests introduced by updates in Rust.
    • Adjusted the lexer to ignore contents of the <!DOCTYPE> tag.
    • Removed unnecessary unsafety in tests.
    • Added tests for doc comments in the readme file.
    • Switched to GitHub Actions from Travis CI.
    Open source →
  33. 0.8.0 16 May 2018 withdrawn
    Release notes
    • Same as 0.7.1, with 0.7.1 being yanked because of the incorrect semver bump.
    Open source →
  34. 0.7.1 16 May 2018 withdrawn
    Release notes
    • Removed dependency on bitflags.
    • Added the XmlWriter::inner_mut() method.
    • Fixed some rustdoc warnings.
    Open source →
  35. 0.7.0 15 Oct 2017 withdrawn
    Release notes
    • Same as 0.6.2, with 0.6.2 being yanked because of the incompatible bump of minimum required version of rustc.
    Open source →
  36. 0.6.2 10 Oct 2017 withdrawn
    Release notes
    • Bumped bitflags to 1.0.
    Open source →
  37. 0.6.1 23 Jul 2017 withdrawn
    Release notes
    • Fixed the writer to escape some special characters when writing attribute values.
    Open source →
  38. 0.6.0 01 Jun 2017 withdrawn
    Release notes
    • Changed the target type of extra entities from char to String. This is an incompatible change.
    Open source →
  39. 0.5.0 01 Jun 2017 withdrawn
    Release notes
    • Added support for ignoring EOF errors in order to read documents from streams incrementally.
    • Bumped bitflags to 0.9.
    Open source →
  40. 0.4.1 03 Mar 2017 withdrawn
    Release notes
    • Added missing Debug implementation to xml::writer::XmlEvent.
    Open source →
  41. 0.4.0 25 Feb 2017 withdrawn
    Release notes
    • Bumped version number, since changes introduced in 0.3.7 break backwards compatibility.
    Open source →
  42. 0.3.8 21 Feb 2017 withdrawn
    Release notes
    • Fixed a problem introduced in 0.3.7 with entities in attributes causing parsing errors.
    Open source →
  43. 0.3.7 21 Feb 2017 withdrawn
    Release notes
    • Fixed the problem with parsing non-whitespace character entities as whitespace (issue #140).
    • Added support for configuring custom entities in the parser configuration.
    Open source →
  44. 0.3.6 13 Feb 2017 withdrawn
    Release notes
    • Added an Error implementation for EmitterError.
    • Fixed escaping of strings with multi-byte code points.
    Open source →
  45. 0.3.5 01 Dec 2016 withdrawn
    Release notes
    • Added Debug implementation for XmlVersion.
    • Fixed some failing tests.
    Open source →
  46. 0.3.4 16 May 2016 withdrawn

    Nothing published for this version

  47. 0.3.3 15 May 2016 withdrawn
    Release notes
    • Updated bitflags to 0.7.
    Open source →
  48. 0.3.2 05 May 2016 withdrawn
    Release notes
    • Added From<io::Error> for xml::reader::Error, which improves usability of working with parsing errors.
    Open source →
  49. 0.3.1 04 May 2016 withdrawn
    Release notes
    • Bumped bitflags dependency to 0.4, some internal warning fixes.
    Open source →
  50. 0.3.0 04 Jan 2016 withdrawn
    Release notes
    • Changed error handling in EventReader - now I/O errors are properly bubbled up from the lexer.
    Open source →
  51. 0.2.4 04 Jan 2016 withdrawn
    Release notes
    • Fixed #112 - incorrect handling of namespace redefinitions when writing a document.
    Open source →
  52. 0.2.3 04 Jan 2016 withdrawn
    Release notes
    • Added into_inner() methods to EventReader and EventWriter.
    Open source →
  53. 0.2.2 21 Oct 2015 withdrawn
    Release notes
    • Using join instead of the deprecated connect.
    • Added a simple XML analyzer program which demonstrates library usage and can be used to check XML documents for well-formedness.
    • Fixed incorrect handling of unqualified attribute names (#107).
    • Added this changelog.
    Open source →
  54. 0.2.1 30 Sep 2015 withdrawn
    Release notes
    • Fixed #105 - incorrect handling of double dashes.
    Open source →
  55. 0.2.0 29 Sep 2015 withdrawn
    Release notes
    • Major update, includes proper document writing support and significant architecture changes.
    Open source →
  56. 0.1.26 26 Aug 2015 withdrawn

    Nothing published for this version

  57. 0.1.25 14 May 2015 withdrawn

    Nothing published for this version

  58. 0.1.24 24 Apr 2015 withdrawn

    Nothing published for this version

  59. 0.1.23 03 Apr 2015 withdrawn

    Nothing published for this version

  60. 0.1.22 25 Mar 2015 withdrawn

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive