Skip to content

Commit

Permalink
upgrade anyhow: 1.0.86 -> 1.0.95
Browse files Browse the repository at this point in the history
Summary: Mainly due to the need to have [`Error::from_boxed`](https://docs.rs/anyhow/1.0.95/anyhow/struct.Error.html#method.from_boxed) and stop using less ergonomic alternatives. Thankfully, this API comes in the latest [1.0.95](https://github.com/dtolnay/anyhow/releases/tag/1.0.95)

Reviewed By: dtolnay

Differential Revision: D67775008

fbshipit-source-id: b9c0d3ff169dbb69d4c8b96e378334b37d200fd2
  • Loading branch information
Paul Iatchenii authored and facebook-github-bot committed Jan 3, 2025
1 parent 55816d0 commit 2a67cf5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ocamlrep/test/test_bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doctest = false
crate-type = ["lib", "staticlib"]

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
cargo_test_utils = { path = "../../../cargo_test_utils" }
ocamlrep = { path = "../.." }
ocamlrep_caml_builtins = { path = "../../../ocamlrep_caml_builtins" }
Expand Down
2 changes: 1 addition & 1 deletion ocamlrep_custom/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doctest = false
crate-type = ["lib", "staticlib"]

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
cargo_test_utils = { path = "../../cargo_test_utils" }
ocamlrep_custom = { path = ".." }
ocamlrep_ocamlpool = { path = "../../ocamlrep_ocamlpool" }
Expand Down
2 changes: 1 addition & 1 deletion ocamlrep_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ syn = { version = "1.0.109", features = ["extra-traits", "fold", "full", "visit"
synstructure = "0.12"

[dev-dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
macro_test_util = { path = "../macro_test_util" }
2 changes: 1 addition & 1 deletion ocamlrep_marshal/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doctest = false
crate-type = ["lib", "staticlib"]

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
cargo_test_utils = { path = "../../cargo_test_utils" }
ocamlrep = { path = "../../ocamlrep" }
ocamlrep_marshal = { path = ".." }
Expand Down
2 changes: 1 addition & 1 deletion ocamlrep_ocamlpool/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ doctest = false
crate-type = ["lib", "staticlib"]

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
cargo_test_utils = { path = "../../cargo_test_utils" }
ocamlrep_ocamlpool = { path = ".." }
once_cell = "1.12"
Expand Down
2 changes: 1 addition & 1 deletion rust_to_ocaml/rust_to_ocaml/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ path = "rust_to_ocaml.rs"
test = false

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
attr_parser = { path = "../attr_parser" }
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
convert_case = "0.6"
Expand Down
2 changes: 1 addition & 1 deletion rust_to_ocaml/test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name = "test_rust_to_ocaml"
path = "test_rust_to_ocaml.rs"

[dependencies]
anyhow = "1.0.86"
anyhow = "1.0.95"
clap = { version = "3.2.25", features = ["derive", "env", "regex", "unicode", "wrap_help"] }
similar = { version = "2.2.0", features = ["inline"] }
walkdir = "2.3"

0 comments on commit 2a67cf5

Please sign in to comment.