From 2a80ebdf95b263bce72de047aafe469964bdeb72 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 07:37:32 +0000 Subject: [PATCH] Update thiserror requirement from 1.0 to 2.0 Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror) to permit the latest version. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- cnvd/Cargo.toml | 2 +- helper/Cargo.toml | 2 +- nvd-api/Cargo.toml | 2 +- nvd-cpe/Cargo.toml | 2 +- nvd-cves/Cargo.toml | 2 +- nvd-cvss/Cargo.toml | 2 +- nvd-model/Cargo.toml | 2 +- nvd-server/Cargo.toml | 2 +- nvd-yew/Cargo.toml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cnvd/Cargo.toml b/cnvd/Cargo.toml index 2080021..ec89b8e 100644 --- a/cnvd/Cargo.toml +++ b/cnvd/Cargo.toml @@ -13,7 +13,7 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -thiserror = "1.0" +thiserror = "2.0" reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "native-tls"] } derive_builder = "0.20.0" chrono = { version = "0.4", default-features = false, features = ["serde"] } diff --git a/helper/Cargo.toml b/helper/Cargo.toml index 51986d1..1523c16 100644 --- a/helper/Cargo.toml +++ b/helper/Cargo.toml @@ -33,7 +33,7 @@ reqwest = { version = "0.12.2", features = ["json", "gzip", "native-tls", "socks nvd-model = { path = "../nvd-model", features = ["db"] } cnvd = { path = "../cnvd", version = "0.0.0" } attackerkb-api-rs = { version = "0.1.2" } -thiserror = "1.0.50" +thiserror = "2.0.6" regex = { version = "1.10.3", default-features = false, features = [ "std", "unicode", diff --git a/nvd-api/Cargo.toml b/nvd-api/Cargo.toml index 2d6c625..748096a 100644 --- a/nvd-api/Cargo.toml +++ b/nvd-api/Cargo.toml @@ -14,7 +14,7 @@ version = "0.1.1" reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "native-tls"] } serde = { version = "1", features = ["derive"] } serde_json = "1.0" -thiserror = "1.0" +thiserror = "2.0" uuid = { version = "1.3.3", features = ["v4"] } nvd-cvss.workspace = true nvd-cves.workspace = true diff --git a/nvd-cpe/Cargo.toml b/nvd-cpe/Cargo.toml index f7ce0f1..1532079 100644 --- a/nvd-cpe/Cargo.toml +++ b/nvd-cpe/Cargo.toml @@ -16,4 +16,4 @@ chrono = { version = "0.4", default-features = false, features = ["serde"] } percent-encoding = "2.1" version-compare = "0.2" language-tags = { version = "0.3", features = ["serde"] } -thiserror = "1.0" \ No newline at end of file +thiserror = "2.0" \ No newline at end of file diff --git a/nvd-cves/Cargo.toml b/nvd-cves/Cargo.toml index b19318f..60e8878 100644 --- a/nvd-cves/Cargo.toml +++ b/nvd-cves/Cargo.toml @@ -16,4 +16,4 @@ serde = { version = "1", features = ["derive"] } chrono = { version = "0.4", default-features = false, features = ["serde"] } nvd-cpe.workspace = true nvd-cvss.workspace = true -thiserror = "1.0" \ No newline at end of file +thiserror = "2.0" \ No newline at end of file diff --git a/nvd-cvss/Cargo.toml b/nvd-cvss/Cargo.toml index 952e83b..7984f66 100644 --- a/nvd-cvss/Cargo.toml +++ b/nvd-cvss/Cargo.toml @@ -13,4 +13,4 @@ version.workspace = true [dependencies] serde = { version = "1", features = ["derive"] } -thiserror = "1.0" \ No newline at end of file +thiserror = "2.0" \ No newline at end of file diff --git a/nvd-model/Cargo.toml b/nvd-model/Cargo.toml index cb0042e..83c5513 100644 --- a/nvd-model/Cargo.toml +++ b/nvd-model/Cargo.toml @@ -17,7 +17,7 @@ diesel = { version = "2.1.4", features = ["r2d2", "mysql", "chrono", "uuid", "se dotenvy = { version = "0.15", optional = true } serde = { version = "1", features = ["derive"] } chrono = { version = "0.4", default-features = false, features = ["serde"] } -thiserror = "1.0" +thiserror = "2.0" uuid = { version = "1.6.1", features = ["v4", "serde", "v7"] } serde_json = { version = "1", features = ["preserve_order"] } utoipa = { version = "5.2.0", features = ["actix_extras", "chrono", "uuid", "openapi_extensions"], optional = true } diff --git a/nvd-server/Cargo.toml b/nvd-server/Cargo.toml index 75d521d..1e3b39d 100644 --- a/nvd-server/Cargo.toml +++ b/nvd-server/Cargo.toml @@ -18,7 +18,7 @@ openssl = { version = "0.10", features = ["vendored"] } actix-files = "0.6.2" actix-cors = "0.7.0" mysqlclient-sys = "0.4.0" -thiserror = "1.0" +thiserror = "2.0" env_logger = "0.11.1" utoipa = { version = "5.2.0", features = ["actix_extras", "chrono", "uuid", "openapi_extensions"], optional = true } utoipa-swagger-ui = { version = "8.0.3", features = ["actix-web"], optional = true } diff --git a/nvd-yew/Cargo.toml b/nvd-yew/Cargo.toml index bb0e206..23528bb 100644 --- a/nvd-yew/Cargo.toml +++ b/nvd-yew/Cargo.toml @@ -34,7 +34,7 @@ chrono = { version = "0.4", default-features = false, features = ["serde", "wasm js-sys = "0.3.65" reqwest = { version = "0.12", features = ["json", "cookies"] } serde = "1" -thiserror = "1.0" +thiserror = "2.0" wasm-bindgen-futures = "0.4.37" uuid = { version = "1.6.1", features = ["serde", "js", "v4"] } nvd-model = { path = "../nvd-model", version = "0.0.0", default-features = false, features = ["yew"] }