Skip to content

Commit 1b95244

Browse files
zertoshfacebook-github-bot
authored andcommitted
Update and pin anyhow to 1.0.72
Summary: anyhow-1.0.73 [uses][1] the new `Error::provide` API. This API is available starting in Rust 1.73. This means that if you want backtraces, you need one: - anyhow-1.0.72 & Rust 1.72 - anyhow-1.0.73 & Rust 1.73 Since we're still on 1.72, pin the version to avoid accidentally losing backtraces. There are no real changes between anyhow-1.0.71 and anyhow-1.0.72. But update to anyhow-1.0.72 so that we're right up until the point where we get backtrace support. [1]: dtolnay/anyhow#319 Reviewed By: shayne-fletcher Differential Revision: D49970958 fbshipit-source-id: 1193611e6d16bc840e63b689e932ea3d33562152
1 parent 511c545 commit 1b95244

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache-2.0"
88
publish = false
99

1010
[dependencies]
11-
anyhow = "1.0.71"
11+
anyhow = "=1.0.72"
1212
async-trait = "0.1.71"
1313
base64 = "0.13"
1414
bufsize = "1.0.5"

deterministic_hash/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "Apache-2.0"
88
publish = false
99

1010
[dependencies]
11-
anyhow = "1.0.71"
11+
anyhow = "=1.0.72"
1212
fbthrift = { path = ".." }
1313
ring = "0.16.20"
1414
thiserror = "1.0.43"

deterministic_hash/src/tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ name = "deterministic_hash_test"
2121
path = "deterministic_hash_test.rs"
2222

2323
[dependencies]
24-
anyhow = "1.0.71"
24+
anyhow = "=1.0.72"
2525
async-trait = "0.1.71"
2626
codegen_includer_proc_macro = { path = "../../../../../../common/rust/shed/codegen_includer_proc_macro" }
2727
const-cstr = "0.3.0"

deterministic_hash/src/tests/types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = false
1313
doctest = false
1414

1515
[dependencies]
16-
anyhow = "1.0.71"
16+
anyhow = "=1.0.72"
1717
codegen_includer_proc_macro = { path = "../../../../../../../common/rust/shed/codegen_includer_proc_macro" }
1818
fbthrift = { path = "../../../.." }
1919
futures = { version = "0.3.28", features = ["async-await", "compat"] }

src/dep_tests/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "fbthrift_test"
1717
path = "lib.rs"
1818

1919
[dependencies]
20-
anyhow = "1.0.71"
20+
anyhow = "=1.0.72"
2121
async-trait = "0.1.71"
2222
codegen_includer_proc_macro = { path = "../../../../../common/rust/shed/codegen_includer_proc_macro" }
2323
const-cstr = "0.3.0"

src/dep_tests/cargo_thrift/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = false
1313
doctest = false
1414

1515
[dependencies]
16-
anyhow = "1.0.71"
16+
anyhow = "=1.0.72"
1717
async-trait = "0.1.71"
1818
codegen_includer_proc_macro = { path = "../../../../../../common/rust/shed/codegen_includer_proc_macro" }
1919
const-cstr = "0.3.0"

src/dep_tests/cargo_thrift/types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = false
1313
doctest = false
1414

1515
[dependencies]
16-
anyhow = "1.0.71"
16+
anyhow = "=1.0.72"
1717
codegen_includer_proc_macro = { path = "../../../../../../../common/rust/shed/codegen_includer_proc_macro" }
1818
fbthrift = { path = "../../../.." }
1919
futures = { version = "0.3.28", features = ["async-await", "compat"] }

src/dep_tests/types/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test = false
1313
doctest = false
1414

1515
[dependencies]
16-
anyhow = "1.0.71"
16+
anyhow = "=1.0.72"
1717
codegen_includer_proc_macro = { path = "../../../../../../common/rust/shed/codegen_includer_proc_macro" }
1818
fbthrift = { path = "../../.." }
1919
futures = { version = "0.3.28", features = ["async-await", "compat"] }

0 commit comments

Comments
 (0)