Skip to content

Commit

Permalink
Update thiserror requirement from 1.0 to 2.0 (#66)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mikhail Glushenkov <[email protected]>
Co-authored-by: mae <[email protected]>
  • Loading branch information
3 people authored Jan 6, 2025
1 parent cd238cc commit ab33515
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ and this project adheres to

---

## [0.9.2] - 2025-01-06

### Updated

- Bump `thiserror` to 2.0

---

## [0.9.1] - 2024-12-03

### Added
Expand Down Expand Up @@ -178,7 +186,9 @@ and this project adheres to

## [0.1.5]

[Unreleased]: https://github.com/primait/prima_datadog.rs/compare/0.9.1...HEAD

[Unreleased]: https://github.com/primait/prima_datadog.rs/compare/0.9.2...HEAD
[0.9.2]: https://github.com/primait/prima_datadog.rs/compare/0.9.1...0.9.2
[0.9.1]: https://github.com/primait/prima_datadog.rs/compare/0.9.0...0.9.1
[0.9.0]: https://github.com/primait/prima_datadog.rs/compare/0.8.0...0.9.0
[0.8.0]: https://github.com/primait/prima_datadog.rs/compare/0.7.2...0.8.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "An opinionated library to share code and approach to Datadog logg
edition = "2018"
license = "MIT"
name = "prima_datadog"
version = "0.9.1"
version = "0.9.2"

[features]
default = []
Expand All @@ -14,7 +14,7 @@ serde = ["dep:serde"]
async-trait = "0.1"
dogstatsd = {version = "=0.12.1", default-features = false}
once_cell = {version = "1.9", default-features = false, features = ["std"]}
thiserror = {version = "1.0", default-features = false}
thiserror = {version = "2.0", default-features = false}

# Optional
serde = {version = "1", optional = true}
Expand Down
2 changes: 1 addition & 1 deletion src/configuration/country.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl<'de> serde::Deserialize<'de> for Country {
D: serde::Deserializer<'de>,
{
struct CountryVisitor;
impl<'de> serde::de::Visitor<'de> for CountryVisitor {
impl serde::de::Visitor<'_> for CountryVisitor {
type Value = Country;

fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down
2 changes: 1 addition & 1 deletion src/configuration/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<'de> serde::Deserialize<'de> for Environment {
D: serde::Deserializer<'de>,
{
struct EnvironmentVisitor;
impl<'de> serde::de::Visitor<'de> for EnvironmentVisitor {
impl serde::de::Visitor<'_> for EnvironmentVisitor {
type Value = Environment;

fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down

0 comments on commit ab33515

Please sign in to comment.