Skip to content

Commit

Permalink
Update thiserror from 1.0.69 to 2.0.3
Browse files Browse the repository at this point in the history
Summary:
Release notes:

- https://github.com/dtolnay/thiserror/releases/tag/2.0.0
- https://github.com/dtolnay/thiserror/releases/tag/2.0.1
- https://github.com/dtolnay/thiserror/releases/tag/2.0.2
- https://github.com/dtolnay/thiserror/releases/tag/2.0.3

Reviewed By: zertosh

Differential Revision: D66562325

fbshipit-source-id: 9b4b0dd517c180b1856ce0dc9be3eb84d686c2b7
  • Loading branch information
David Tolnay authored and facebook-github-bot committed Nov 28, 2024
1 parent f97b436 commit f6b7664
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion shed/facet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ anyhow = "1.0.86"
async-trait = "0.1.71"
facet_proc_macros = { version = "0.1.0", path = "proc_macros" }
futures = { version = "0.3.30", features = ["async-await", "compat"] }
thiserror = "1.0.64"
thiserror = "2"
trait-set = "0.3.0"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/failure_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ futures = "0.1.31"
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }

[dev-dependencies]
thiserror = "1.0.64"
thiserror = "2"

[lints]
rust = { unexpected_cfgs = { check-cfg = ["cfg(fbcode_build)"], level = "warn" } }
2 changes: 1 addition & 1 deletion shed/fbthrift_ext/adapters/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ ordered-float = { version = "3.7", features = ["serde"] }
paste = "1.0.14"
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_derive = "1.0.185"
thiserror = "1.0.64"
thiserror = "2"
uuid = { version = "1.2", features = ["serde", "v4", "v5", "v6", "v7", "v8"] }
valuable = { version = "0.1", features = ["derive"] }
2 changes: 1 addition & 1 deletion shed/futures_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maybe-owned = "0.3.4"
pin-project = "0.4.30"
shared_error = { version = "0.1.0", path = "../shared_error" }
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
thiserror = "1.0.64"
thiserror = "2"
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/justknobs_stub/cached_config_thrift_struct/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ once_cell = "1.12"
ref-cast = "1.0.18"
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_derive = "1.0.185"
thiserror = "1.0.64"
thiserror = "2"

[build-dependencies]
thrift_compiler = { version = "0.1.0", path = "../../thrift_compiler" }
Expand Down
2 changes: 1 addition & 1 deletion shed/netstring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0"
[dependencies]
anyhow = "1.0.86"
bytes = { version = "1.6.0", features = ["serde"] }
thiserror = "1.0.64"
thiserror = "2"
tokio-util = { version = "0.7.12", features = ["full"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion shed/scuba_sample/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rand = { version = "0.8", features = ["small_rng"] }
scuba_sample_derive = { version = "0.1.0", path = "derive" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
serde_json = { version = "1.0.132", features = ["float_roundtrip", "unbounded_depth"] }
thiserror = "1.0.64"
thiserror = "2"

[dev-dependencies]
assert_matches = "1.5"
Expand Down
2 changes: 1 addition & 1 deletion shed/services/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path = "lib.rs"

[dependencies]
cxx = "1.0.119"
thiserror = "1.0.64"
thiserror = "2"

[lints]
rust = { unexpected_cfgs = { check-cfg = ["cfg(fbcode_build)"], level = "warn" } }
2 changes: 1 addition & 1 deletion shed/shared_error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ license = "MIT OR Apache-2.0"
[dependencies]
anyhow = "1.0.86"
slog = { version = "2.7", features = ["max_level_trace", "nested-values"] }
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion shed/slog_glog_fmt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ slog-term = "2.8"
once_cell = "1.12"
rand = { version = "0.8", features = ["small_rng"] }
regex = "1.9.2"
thiserror = "1.0.64"
thiserror = "2"

[target.'cfg(target_os = "linux")'.dependencies]
nix = "0.26.4"
Expand Down
2 changes: 1 addition & 1 deletion shed/sql/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mysql_client_traits = { version = "0.1.0", path = "../mysql_client_traits" }
mysql_derive = { version = "0.1.0", path = "../derive" }
rusqlite = { version = "0.29.0", features = ["backup", "blob", "column_decltype", "limits"] }
stats = { version = "0.1.0", path = "../../stats" }
thiserror = "1.0.64"
thiserror = "2"
time_ext = { version = "0.1.0", path = "../../time_ext" }
tokio = { version = "1.41.0", features = ["full", "test-util", "tracing"] }
vec1 = { version = "1", features = ["serde"] }
Expand Down
2 changes: 1 addition & 1 deletion shed/sql/mysql_client_traits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ path = "lib.rs"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
mysql_common = { version = "0.29.0", features = ["chrono", "default"] }
seq-macro = "0.3.4"
thiserror = "1.0.64"
thiserror = "2"
2 changes: 1 addition & 1 deletion shed/time_ext/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "MIT OR Apache-2.0"

[dependencies]
anyhow = "1.0.86"
thiserror = "1.0.64"
thiserror = "2"

[dev-dependencies]
quickcheck = "1.0"

0 comments on commit f6b7664

Please sign in to comment.