Skip to content

Commit

Permalink
chore: bump version to 0.7.0, add science::geo category
Browse files Browse the repository at this point in the history
  • Loading branch information
pjsier committed Jan 30, 2023
1 parent a19a734 commit b53faee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>` 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)

Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
[package]
name = "kml"
version = "0.6.0"
version = "0.7.0"
authors = ["Pat Sier <pjsier@gmail.com>", "The GeoRust Developers <mods@georust.org>"]
description = "KML support for Rust"
readme = "README.md"
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/*"]

Expand Down
2 changes: 1 addition & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?}"))),
}
}

Expand Down

0 comments on commit b53faee

Please sign in to comment.