Remove doc references to quick-xml, update CHANGELOG

`minidom` no longer uses it since !154. Also, CHANGELOG was not updated
for 0.15.0 and still referenced 0.14.0; take a stab at documenting what
has changed.

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
This commit is contained in:
Michel Alexandre Salim 2022-12-28 13:55:11 -06:00 committed by Maxime Buquet
parent 6bd407605b
commit 940f1bc295
5 changed files with 9 additions and 5 deletions

View file

@ -1,3 +1,7 @@
Version 0.15.0, released 2022-07-13:
* Changes
* Drop quick-xml dependency (astro1, jssfr)
Version 0.14.0, released 2022-03-07:
* Changes
* Bump quick-xml dependency (thanks eijebong!)

View file

@ -8,7 +8,7 @@ authors = [
"Astro <astro@spaceboyz.net>",
"Maxime “pep” Buquet <pep@bouah.net>",
]
description = "A small, simple DOM implementation on top of quick-xml, targeting the subset of XML useful for XMPP"
description = "A small, simple DOM implementation on top of rxml, targeting the subset of XML useful for XMPP"
homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
documentation = "https://docs.rs/minidom"

View file

@ -4,5 +4,5 @@ minidom
What's this?
------------
A minimal DOM library on top of quick-xml. targeting exclusively the subset of
A minimal DOM library on top of rxml, targeting exclusively the subset of
XML useful for XMPP.

View file

@ -356,12 +356,12 @@ impl Element {
self.to_writer_decl(&mut ItemWriter::new(writer))
}
/// Output the document to quick-xml `Writer`
/// Output the document to an `ItemWriter`
pub fn to_writer<W: Write>(&self, writer: &mut ItemWriter<W>) -> Result<()> {
self.write_to_inner(writer)
}
/// Output the document to quick-xml `Writer`
/// Output the document to an `ItemWriter`
pub fn to_writer_decl<W: Write>(&self, writer: &mut ItemWriter<W>) -> Result<()> {
writer
.write(Item::XmlDeclaration(XmlVersion::V1_0))

View file

@ -10,7 +10,7 @@
#![deny(missing_docs)]
//! A minimal DOM crate built on top of quick-xml, targeting exclusively the subset of XML useful
//! A minimal DOM crate built on top of rxml, targeting exclusively the subset of XML useful
//! for XMPP.
//!
//! This library exports an `Element` struct which represents a DOM tree.