Skip to content

Commit 273e2ad

Browse files
authored
Merge pull request #51 from eminence/prep_for_0_11
Prep for 0.11
2 parents b253c69 + 74f324e commit 273e2ad

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "xmltree"
3-
version = "0.10.3"
3+
version = "0.11.0"
44
authors = ["Andrew Chin <achin@eminence32.net>"]
55
description = "Parse an XML file into a simple tree-like structure"
66
documentation = "https://docs.rs/xmltree/"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
//!
3030
//! ```
3131
32-
3332
#[cfg(all(feature = "attribute-order", not(feature = "attribute-sorted")))]
3433
/// The type used to store element attributes.
3534
pub 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>,

0 commit comments

Comments
 (0)