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:
parent
6bd407605b
commit
940f1bc295
5 changed files with 9 additions and 5 deletions
|
@ -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:
|
Version 0.14.0, released 2022-03-07:
|
||||||
* Changes
|
* Changes
|
||||||
* Bump quick-xml dependency (thanks eijebong!)
|
* Bump quick-xml dependency (thanks eijebong!)
|
||||||
|
|
|
@ -8,7 +8,7 @@ authors = [
|
||||||
"Astro <astro@spaceboyz.net>",
|
"Astro <astro@spaceboyz.net>",
|
||||||
"Maxime “pep” Buquet <pep@bouah.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"
|
homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
||||||
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
|
||||||
documentation = "https://docs.rs/minidom"
|
documentation = "https://docs.rs/minidom"
|
||||||
|
|
|
@ -4,5 +4,5 @@ minidom
|
||||||
What's this?
|
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.
|
XML useful for XMPP.
|
||||||
|
|
|
@ -356,12 +356,12 @@ impl Element {
|
||||||
self.to_writer_decl(&mut ItemWriter::new(writer))
|
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<()> {
|
pub fn to_writer<W: Write>(&self, writer: &mut ItemWriter<W>) -> Result<()> {
|
||||||
self.write_to_inner(writer)
|
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<()> {
|
pub fn to_writer_decl<W: Write>(&self, writer: &mut ItemWriter<W>) -> Result<()> {
|
||||||
writer
|
writer
|
||||||
.write(Item::XmlDeclaration(XmlVersion::V1_0))
|
.write(Item::XmlDeclaration(XmlVersion::V1_0))
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#![deny(missing_docs)]
|
#![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.
|
//! for XMPP.
|
||||||
//!
|
//!
|
||||||
//! This library exports an `Element` struct which represents a DOM tree.
|
//! This library exports an `Element` struct which represents a DOM tree.
|
||||||
|
|
Loading…
Reference in a new issue