From 58d78ff6b368c7c151737f447b8cf507c76c4edf Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Fri, 13 Dec 2024 02:19:42 +0800 Subject: [PATCH] use thiserror 2.0.6 --- CHANGES.md | 1 + Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 130c0ae..57bbd4b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Unreleased +* Upgrade from thiserror v1 to v2 * Add support of serializing optional `geo-types` with `serialize_optional_geometry`. * Add support of deserializing optional `geo-types` with `deserialize_optional_geometry`. * Add support for foreign members to `FeatureWriter`. diff --git a/Cargo.toml b/Cargo.toml index 4634dd1..260245b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,12 +17,12 @@ default = ["geo-types"] serde = { version="~1.0", features = ["derive"] } serde_json = "~1.0" geo-types = { version = "0.7.13", features = ["serde"], optional = true } -thiserror = "1.0.20" +thiserror = "2.0.6" log = "0.4.17" [dev-dependencies] num-traits = "0.2" -criterion = "0.4.0" +criterion = "0.5.1" [[bench]] name = "parse"