Skip to content

Commit 07c9aa2

Browse files
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](dtolnay/thiserror@1.0.50...2.0.3) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
1 parent c7b4bc3 commit 07c9aa2

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

cnvd/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ publish = false
1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

1515
[dependencies]
16-
thiserror = "1.0"
16+
thiserror = "2.0"
1717
reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "native-tls"] }
1818
derive_builder = "0.20.0"
1919
chrono = { version = "0.4", default-features = false, features = ["serde"] }

helper/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ reqwest = { version = "0.12.2", features = ["json", "gzip", "native-tls", "socks
3333
nvd-model = { path = "../nvd-model", features = ["db"] }
3434
cnvd = { path = "../cnvd", version = "0.0.0" }
3535
attackerkb-api-rs = { version = "0.1.2" }
36-
thiserror = "1.0.50"
36+
thiserror = "2.0.3"
3737
regex = { version = "1.10.3", default-features = false, features = [
3838
"std",
3939
"unicode",

nvd-api/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version = "0.1.1"
1414
reqwest = { version = "0.12", features = ["json", "cookies", "gzip", "native-tls"] }
1515
serde = { version = "1", features = ["derive"] }
1616
serde_json = "1.0"
17-
thiserror = "1.0"
17+
thiserror = "2.0"
1818
uuid = { version = "1.3.3", features = ["v4"] }
1919
nvd-cvss.workspace = true
2020
nvd-cves.workspace = true

nvd-cpe/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ chrono = { version = "0.4", default-features = false, features = ["serde"] }
1616
percent-encoding = "2.1"
1717
version-compare = "0.2"
1818
language-tags = { version = "0.3", features = ["serde"] }
19-
thiserror = "1.0"
19+
thiserror = "2.0"

nvd-cves/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ serde = { version = "1", features = ["derive"] }
1616
chrono = { version = "0.4", default-features = false, features = ["serde"] }
1717
nvd-cpe.workspace = true
1818
nvd-cvss.workspace = true
19-
thiserror = "1.0"
19+
thiserror = "2.0"

nvd-cvss/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ version.workspace = true
1313

1414
[dependencies]
1515
serde = { version = "1", features = ["derive"] }
16-
thiserror = "1.0"
16+
thiserror = "2.0"

nvd-model/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ diesel = { version = "2.1.4", features = ["r2d2", "mysql", "chrono", "uuid", "se
1717
dotenvy = { version = "0.15", optional = true }
1818
serde = { version = "1", features = ["derive"] }
1919
chrono = { version = "0.4", default-features = false, features = ["serde"] }
20-
thiserror = "1.0"
20+
thiserror = "2.0"
2121
uuid = { version = "1.6.1", features = ["v4", "serde", "v7"] }
2222
serde_json = { version = "1", features = ["preserve_order"] }
2323
utoipa = { version = "4.2.0", features = ["actix_extras", "chrono", "uuid", "openapi_extensions"], optional = true }

nvd-server/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ openssl = { version = "0.10", features = ["vendored"] }
1818
actix-files = "0.6.2"
1919
actix-cors = "0.7.0"
2020
mysqlclient-sys = "0.4.0"
21-
thiserror = "1.0"
21+
thiserror = "2.0"
2222
env_logger = "0.11.1"
2323
utoipa = { version = "4.2.0", features = ["actix_extras", "chrono", "uuid", "openapi_extensions"], optional = true }
2424
utoipa-swagger-ui = { version = "8.0.3", features = ["actix-web"], optional = true }

nvd-yew/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ chrono = { version = "0.4", default-features = false, features = ["serde", "wasm
3434
js-sys = "0.3.65"
3535
reqwest = { version = "0.12", features = ["json", "cookies"] }
3636
serde = "1"
37-
thiserror = "1.0"
37+
thiserror = "2.0"
3838
wasm-bindgen-futures = "0.4.37"
3939
uuid = { version = "1.6.1", features = ["serde", "js", "v4"] }
4040
nvd-model = { path = "../nvd-model", version = "0.0.0", default-features = false, features = ["yew"] }

0 commit comments

Comments
 (0)