From 4b32888460d20dc3b6434e4a19c6812df90aa4d9 Mon Sep 17 00:00:00 2001 From: Pedro Rittner Date: Sat, 14 Sep 2024 09:16:57 -0700 Subject: [PATCH] Upgrade bon to 2.2.1 Summary: As per title, this upgrades us to 2.2.1. One big improvement is that this should [improve rust-analyzer suggestions](https://elastio.github.io/bon/blog/bon-builder-generator-v2-release#experimental-completions-with-rust-analyzer). It should also [compile faster](https://elastio.github.io/bon/blog/bon-builder-v2-1-release). The primary breaking change (addressed in this diff) is that `&str -> String` conversions are now opt-in. There's also a new `#[derive(Builder)]` API now exposed by bon, which is destined to replace the raw `#[bon::builder]` macro when a builder is derived for a struct, but the latter isn't deprecated (yet). All new uses of `bon` should use the `#[derive(Builder]` pattern. Reviewed By: slawlor Differential Revision: D62687307 fbshipit-source-id: 43873749636f2de7fc05f8552538ff46910506c4 --- hphp/hack/src/Cargo.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hphp/hack/src/Cargo.lock b/hphp/hack/src/Cargo.lock index ff983db016472..55aee7d70380b 100644 --- a/hphp/hack/src/Cargo.lock +++ b/hphp/hack/src/Cargo.lock @@ -704,7 +704,7 @@ dependencies = [ "anstream", "anstyle", "clap_lex 0.7.0", - "strsim 0.11.0", + "strsim 0.11.1", "terminal_size 0.3.0", "unicase", "unicode-width", @@ -4841,9 +4841,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "strsim" -version = "0.11.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum"