Skip to content

Commit

Permalink
Update and pin anyhow to 1.0.72
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zertosh authored and facebook-github-bot committed Oct 5, 2023
1 parent 9b49359 commit 3a1b4dd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion below/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ unit-name = "below"
unit-scripts = "../etc"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
cgroupfs = { version = "0.7.1", path = "cgroupfs" }
clap = { version = "4.3.5", features = ["derive", "env", "string", "unicode", "wrap_help"] }
clap_complete = "4.3.1"
Expand Down
2 changes: 1 addition & 1 deletion below/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
chrono = { version = "0.4", features = ["clock", "serde", "std"], default-features = false }
cursive = { version = "0.20.0", features = ["crossterm-backend"], default-features = false }
humantime = "2.1"
Expand Down
2 changes: 1 addition & 1 deletion below/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
btrfs = { package = "below-btrfs", version = "0.7.1", path = "../btrfs" }
cgroupfs = { version = "0.7.1", path = "../cgroupfs" }
serde = { version = "1.0.185", features = ["derive", "rc"] }
Expand Down
2 changes: 1 addition & 1 deletion below/dump/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
below_derive = { version = "0.7.1", path = "../below_derive" }
clap = { version = "4.3.5", features = ["derive", "env", "string", "unicode", "wrap_help"] }
common = { package = "below-common", version = "0.7.1", path = "../common" }
Expand Down
2 changes: 1 addition & 1 deletion below/model/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
async-trait = "0.1.71"
below_derive = { version = "0.7.1", path = "../below_derive" }
btrfs = { package = "below-btrfs", version = "0.7.1", path = "../btrfs" }
Expand Down
2 changes: 1 addition & 1 deletion below/store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

[dependencies]
anyhow = "1.0.71"
anyhow = "=1.0.72"
bitflags = "1.3"
bytes = { version = "1.1", features = ["serde"] }
common = { package = "below-common", version = "0.7.1", path = "../common" }
Expand Down
2 changes: 1 addition & 1 deletion below/view/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/facebookincubator/below"
license = "Apache-2.0"

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

0 comments on commit 3a1b4dd

Please sign in to comment.