From 940f1bc29576e1c6fef2478d5954d9139db26638 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 28 Dec 2022 13:55:11 -0600 Subject: [PATCH] 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 --- minidom/CHANGELOG.md | 4 ++++ minidom/Cargo.toml | 2 +- minidom/README.md | 2 +- minidom/src/element.rs | 4 ++-- minidom/src/lib.rs | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/minidom/CHANGELOG.md b/minidom/CHANGELOG.md index 733d4d7e..0edb7846 100644 --- a/minidom/CHANGELOG.md +++ b/minidom/CHANGELOG.md @@ -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!) diff --git a/minidom/Cargo.toml b/minidom/Cargo.toml index b0cff196..9fc55bc9 100644 --- a/minidom/Cargo.toml +++ b/minidom/Cargo.toml @@ -8,7 +8,7 @@ authors = [ "Astro ", "Maxime “pep” Buquet ", ] -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" diff --git a/minidom/README.md b/minidom/README.md index 1e206dd2..bfee3dce 100644 --- a/minidom/README.md +++ b/minidom/README.md @@ -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. diff --git a/minidom/src/element.rs b/minidom/src/element.rs index ea2e3a1a..674b0ecf 100644 --- a/minidom/src/element.rs +++ b/minidom/src/element.rs @@ -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(&self, writer: &mut ItemWriter) -> Result<()> { self.write_to_inner(writer) } - /// Output the document to quick-xml `Writer` + /// Output the document to an `ItemWriter` pub fn to_writer_decl(&self, writer: &mut ItemWriter) -> Result<()> { writer .write(Item::XmlDeclaration(XmlVersion::V1_0)) diff --git a/minidom/src/lib.rs b/minidom/src/lib.rs index 382b1043..83c6837c 100644 --- a/minidom/src/lib.rs +++ b/minidom/src/lib.rs @@ -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.