Skip to content

Commit 3a1b4dd

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 9b49359 commit 3a1b4dd

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

below/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ unit-name = "below"
2020
unit-scripts = "../etc"
2121

2222
[dependencies]
23-
anyhow = "1.0.71"
23+
anyhow = "=1.0.72"
2424
cgroupfs = { version = "0.7.1", path = "cgroupfs" }
2525
clap = { version = "4.3.5", features = ["derive", "env", "string", "unicode", "wrap_help"] }
2626
clap_complete = "4.3.1"

below/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
1515
cursive = { version = "0.20.0", features = ["crossterm-backend"], default-features = false }
1616
humantime = "2.1"

below/config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
btrfs = { package = "below-btrfs", version = "0.7.1", path = "../btrfs" }
1515
cgroupfs = { version = "0.7.1", path = "../cgroupfs" }
1616
serde = { version = "1.0.185", features = ["derive", "rc"] }

below/dump/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
below_derive = { version = "0.7.1", path = "../below_derive" }
1515
clap = { version = "4.3.5", features = ["derive", "env", "string", "unicode", "wrap_help"] }
1616
common = { package = "below-common", version = "0.7.1", path = "../common" }

below/model/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
async-trait = "0.1.71"
1515
below_derive = { version = "0.7.1", path = "../below_derive" }
1616
btrfs = { package = "below-btrfs", version = "0.7.1", path = "../btrfs" }

below/store/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
bitflags = "1.3"
1515
bytes = { version = "1.1", features = ["serde"] }
1616
common = { package = "below-common", version = "0.7.1", path = "../common" }

below/view/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
1010
license = "Apache-2.0"
1111

1212
[dependencies]
13-
anyhow = "1.0.71"
13+
anyhow = "=1.0.72"
1414
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
1515
common = { package = "below-common", version = "0.7.1", path = "../common" }
1616
crossterm = { version = "0.27.0", features = ["event-stream"] }

0 commit comments

Comments
 (0)