Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update thiserror requirement from 1.0 to 2.0 #66

Merged
merged 3 commits into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading