From 64794c96fe83fef9f662e9acf1af45224d4d78d7 Mon Sep 17 00:00:00 2001 From: Uwe Klotz Date: Sun, 24 Nov 2024 12:59:19 +0100 Subject: [PATCH] dependencies: Update thiserror to v2.0 (#300) * Update pre-commit hooks * dependencies: Update thiserror to v2.0 --- .deny.toml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.deny.toml b/.deny.toml index 2c78831..8d8a212 100644 --- a/.deny.toml +++ b/.deny.toml @@ -10,7 +10,7 @@ db-urls = ["https://github.com/rustsec/advisory-db"] yanked = "deny" [licenses] -allow = ["Apache-2.0", "BSD-2-Clause", "MIT", "MPL-2.0", "Unicode-DFS-2016"] +allow = ["Apache-2.0", "BSD-2-Clause", "MIT", "MPL-2.0", "Unicode-3.0"] [bans] # Multiple versions of dependencies are inevitable and cannot be avoided. diff --git a/Cargo.toml b/Cargo.toml index 1dfd120..2365af5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ futures-util = { version = "0.3.30", optional = true, default-features = false } log = "0.4.20" smallvec = { version = "1.13.1", optional = true, default-features = false } socket2 = { version = "0.5.5", optional = true, default-features = false } -thiserror = "1.0.58" +thiserror = "2.0.3" tokio = { version = "1.35.1", default-features = false, features = ["io-util"] } # Disable default-features to exclude unused dependency on libudev tokio-serial = { version = "5.4.4", optional = true, default-features = false }