File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " xmltree"
3- version = " 0.10.3 "
3+ version = " 0.11.0 "
44authors = [" Andrew Chin <achin@eminence32.net>" ]
55description = " Parse an XML file into a simple tree-like structure"
66documentation = " https://docs.rs/xmltree/"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ Add the following to your `Cargo.toml` file:
1515
1616``` toml
1717[dependencies ]
18- xmltree = " 0.10 "
18+ xmltree = " 0.11 "
1919```
2020
2121### Feature-flags
@@ -32,7 +32,7 @@ use a version of xmltree that matches the version of xml-rs you are using:
3232
3333| xml-rs version | xmltree version |
3434| ----------------| -----------------|
35- | 0.8 | 0.10 |
35+ | 0.8 | 0.11 |
3636| 0.7 | 0.8 |
3737| 0.6 | 0.6 |
3838
Original file line number Diff line number Diff line change 2929//!
3030//! ```
3131
32-
3332#[ cfg( all( feature = "attribute-order" , not( feature = "attribute-sorted" ) ) ) ]
3433/// The type used to store element attributes.
3534pub type AttributeMap < K , V > = indexmap:: map:: IndexMap < K , V > ;
@@ -153,7 +152,7 @@ pub struct Element {
153152 ///
154153 /// By default, this is a `HashMap`, but there are two optional features that can change this:
155154 ///
156- /// * If the "attribute-order" feature is enabled, then this is an [IndexMap](https://docs.rs/indexmap/1.4.0 /indexmap/),
155+ /// * If the "attribute-order" feature is enabled, then this is an [IndexMap](https://docs.rs/indexmap/2 /indexmap/),
157156 /// which will retain item insertion order.
158157 /// * If the "attribute-sorted" feature is enabled, then this is a [`std::collections::BTreeMap`], which maintains keys in sorted order.
159158 pub attributes : AttributeMap < String , String > ,
You can’t perform that action at this time.
0 commit comments