diff --git a/Cargo.toml b/Cargo.toml index 65b5399..4f5acbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xmltree" -version = "0.10.3" +version = "0.11.0" authors = ["Andrew Chin "] description = "Parse an XML file into a simple tree-like structure" documentation = "https://docs.rs/xmltree/" diff --git a/README.md b/README.md index 66d8880..46ee9e5 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Add the following to your `Cargo.toml` file: ```toml [dependencies] -xmltree = "0.10" +xmltree = "0.11" ``` ### Feature-flags @@ -32,7 +32,7 @@ use a version of xmltree that matches the version of xml-rs you are using: | xml-rs version | xmltree version | |----------------|-----------------| -| 0.8 | 0.10 | +| 0.8 | 0.11 | | 0.7 | 0.8 | | 0.6 | 0.6 | diff --git a/src/lib.rs b/src/lib.rs index 5a60b74..5a86e84 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,6 @@ //! //! ``` - #[cfg(all(feature = "attribute-order", not(feature = "attribute-sorted")))] /// The type used to store element attributes. pub type AttributeMap = indexmap::map::IndexMap; @@ -153,7 +152,7 @@ pub struct Element { /// /// By default, this is a `HashMap`, but there are two optional features that can change this: /// - /// * If the "attribute-order" feature is enabled, then this is an [IndexMap](https://docs.rs/indexmap/1.4.0/indexmap/), + /// * If the "attribute-order" feature is enabled, then this is an [IndexMap](https://docs.rs/indexmap/2/indexmap/), /// which will retain item insertion order. /// * If the "attribute-sorted" feature is enabled, then this is a [`std::collections::BTreeMap`], which maintains keys in sorted order. pub attributes: AttributeMap,