From 2dfa267f7f31af4becd04f4d6b6b816c4c67a10c Mon Sep 17 00:00:00 2001 From: Andres Suarez Date: Thu, 5 Oct 2023 15:20:03 -0700 Subject: [PATCH] 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]: https://github.com/dtolnay/anyhow/pull/319 Reviewed By: shayne-fletcher Differential Revision: D49970958 fbshipit-source-id: 1193611e6d16bc840e63b689e932ea3d33562152 --- watchman/cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watchman/cli/Cargo.toml b/watchman/cli/Cargo.toml index 2a082a408f58..19a6d4c815a1 100644 --- a/watchman/cli/Cargo.toml +++ b/watchman/cli/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] ahash = "0.8" -anyhow = "1.0.71" +anyhow = "=1.0.72" duct = "0.13.6" jwalk = "0.6" serde = { version = "1.0.185", features = ["derive", "rc"] }