Skip to content

Commit

Permalink
Update thiserror requirement from 1.0 to 2.0
Browse files Browse the repository at this point in the history
Updates the requirements on [thiserror](https://github.com/dtolnay/thiserror) to permit the latest version.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.50...2.0.3)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored Dec 10, 2024
1 parent 13e62c3 commit 2a80ebd
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion cnvd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion helper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion nvd-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion nvd-cpe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
thiserror = "2.0"
2 changes: 1 addition & 1 deletion nvd-cves/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
thiserror = "2.0"
2 changes: 1 addition & 1 deletion nvd-cvss/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ version.workspace = true

[dependencies]
serde = { version = "1", features = ["derive"] }
thiserror = "1.0"
thiserror = "2.0"
2 changes: 1 addition & 1 deletion nvd-model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion nvd-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion nvd-yew/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit 2a80ebd

Please sign in to comment.