chore: Bump taffy to 0.5.2 (#18729)

Piotr Osiewicz created

Release Notes:

- N/A

Change summary

Cargo.lock               | 8 ++++----
crates/gpui/Cargo.toml   | 2 +-
crates/gpui/src/taffy.rs | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)

Detailed changes

Cargo.lock 🔗

@@ -5111,9 +5111,9 @@ dependencies = [
 
 [[package]]
 name = "grid"
-version = "0.13.0"
+version = "0.14.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d196ffc1627db18a531359249b2bf8416178d84b729f3cebeb278f285fb9b58c"
+checksum = "be136d9dacc2a13cc70bb6c8f902b414fb2641f8db1314637c6b7933411a8f82"
 
 [[package]]
 name = "group"
@@ -11420,9 +11420,9 @@ dependencies = [
 
 [[package]]
 name = "taffy"
-version = "0.4.4"
+version = "0.5.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9ec17858c2d465b2f734b798b920818a974faf0babb15d7fef81818a4b2d16f1"
+checksum = "9cb893bff0f80ae17d3a57e030622a967b8dbc90e38284d9b4b1442e23873c94"
 dependencies = [
  "arrayvec",
  "grid",

crates/gpui/Cargo.toml 🔗

@@ -66,7 +66,7 @@ smallvec.workspace = true
 smol.workspace = true
 strum.workspace = true
 sum_tree.workspace = true
-taffy = "0.4.3"
+taffy = "0.5"
 thiserror.workspace = true
 util.workspace = true
 uuid.workspace = true

crates/gpui/src/taffy.rs 🔗

@@ -180,7 +180,7 @@ impl TaffyLayoutEngine {
             .compute_layout_with_measure(
                 id.into(),
                 available_space.into(),
-                |known_dimensions, available_space, node_id, _context| {
+                |known_dimensions, available_space, node_id, _context, _style| {
                     let Some(measure) = self.nodes_to_measure.get_mut(&node_id.into()) else {
                         return taffy::geometry::Size::default();
                     };