bevy/crates/bevy_ui/src
colepoirier 86dd6f065d depend on dioxus(and bevy)-maintained fork of stretch (taffy) (#4716)
# Objective

DioxusLabs and Bevy have taken over maintaining what was our abandoned ui layout dependency [stretch](https://github.com/vislyhq/stretch). Dioxus' fork has had a lot of work done on it by @alice-i-cecile, @Weibye , @jkelleyrtp, @mockersf, @HackerFoo, @TimJentzsch and a dozen other contributors and now is in much better shape than stretch was. The updated crate is called taffy and is available on github [here](https://github.com/DioxusLabs/taffy) ([taffy](https://crates.io/crates/taffy) on crates.io). The goal of this PR is to replace stretch v0.3.2 with taffy v0.1.0.

## Solution

I changed the bevy_ui Cargo.toml to depend on taffy instead of stretch and fixed all the errors rustc complained about.

---

## Changelog

Changed bevy_ui layout dependency from stretch to taffy (the maintained fork of stretch).

fixes #677

## Migration Guide

The public api of taffy is different from that of stretch so please advise me on what to do here @alice-i-cecile.
2022-06-21 22:57:59 +00:00
..
flex depend on dioxus(and bevy)-maintained fork of stretch (taffy) (#4716) 2022-06-21 22:57:59 +00:00
render Overflow::Hidden doesn't work correctly with scale_factor_override (#3854) 2022-06-12 19:14:48 +00:00
widget bevy_reflect: put serialize into external ReflectSerialize type (#4782) 2022-06-20 17:18:58 +00:00
entity.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
focus.rs Fixed bevy_ui touch input (#4099) 2022-06-20 20:32:19 +00:00
geometry.rs Move Rect to bevy_ui and rename it to UiRect (#4276) 2022-04-25 19:20:38 +00:00
lib.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
ui_node.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
update.rs Split bevy_hierarchy out from bevy_transform (#4168) 2022-03-15 01:54:05 +00:00