From b53faee9c5c4a4b742ce7f693a580c9dc7ec0962 Mon Sep 17 00:00:00 2001 From: pjsier Date: Sun, 29 Jan 2023 18:45:26 -0600 Subject: [PATCH] chore: bump version to 0.7.0, add science::geo category --- CHANGELOG.md | 3 +++ Cargo.toml | 3 ++- src/reader.rs | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) 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:?}"))), } }