diff --git a/CHANGELOG.md b/CHANGELOG.md index 62a0db0..674c43b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,10 @@ ## Unreleased +## [v0.7.0](https://github.com/georust/kml/releases/tag/v0.7.0) + - BREAKING: Updates `Style`, `StyleMap`, `BalloonStyle`, `IconStyle`, `Icon`, `LabelStyle`, `LineStyle`, `PolyStyle`, and `ListStyle` by adding public `attrs` property and changes type of `id` from `String` to `Option` to more closely reflect the specification. +- Add `categories` field to `Cargo.toml` ## [v0.6.0](https://github.com/georust/kml/releases/tag/v0.6.0) diff --git a/Cargo.toml b/Cargo.toml index 47cc262..6f1f6be 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "kml" -version = "0.6.0" +version = "0.7.0" authors = ["Pat Sier ", "The GeoRust Developers "] description = "KML support for Rust" readme = "README.md" @@ -8,6 +8,7 @@ documentation = "https://docs.rs/kml/" repository = "https://github.com/georust/kml" license = "MIT OR Apache-2.0" edition = "2021" +categories = ["science::geo"] keywords = ["geo", "geospatial", "kml"] exclude = [".github/*"] diff --git a/src/reader.rs b/src/reader.rs index 2b94d69..659cd86 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -1105,7 +1105,7 @@ where .unescape_and_decode(&self.reader) .unwrap_or_else(|_| String::from_utf8_lossy(e.escaped()).to_string())), Event::End(_) => Ok("".to_string()), - e => Err(Error::InvalidXmlEvent(format!("{:?}", e))), + e => Err(Error::InvalidXmlEvent(format!("{e:?}"))), } }