Update Rust crate taffy to 0.7.0 #21899
Open
+6
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.4.3
->0.7.0
Release Notes
DioxusLabs/taffy (taffy)
v0.7.0
Compare Source
Changed
cache_mut
method on theLayoutPartialTree
trait has been replaced with a separateCacheTree
trait. This allowsTaffy to be more easily used without caching or with a custom cache implementation.
TaffyTree::set_children
method now removes the children from their previous parent (if they have one).Added
Layout
v0.6.3
Compare Source
Fixes
v0.6.2
Compare Source
Fixes
v0.6.1
Compare Source
Fixes
auto-fill
/auto-fit
repetition count when container has a definite percentage size (#722)v0.6.0
Compare Source
Highlights
Style
struct has been "traitified". This supports Taffy's integration in Servo and generally makes Taffy more flexible. TheStyle
struct still exists and implements the new traits so existing uses of Taffy will continue to work as before.box-sizing
style is supportedLayout
Fixes
print_tree()
when rounding is disabled (#680)Added
<center>
and<div align="..">
) is supportedis_table
for block items (#701)Debug
andClone
forCache
(#688)Debug
andPartialEq
for tree types (#697)v0.5.2
Compare Source
v0.5.1
Compare Source
v0.5.0
Compare Source
The changes in 0.5 are relatively small but the new measure function parameter is a breaking change so it requires a minor version bump.
style: &Style
parameter has been added to measure functions.MaybeMath
,MaybeResolve
, andResolveOrZero
traits have been made public.Configuration
📅 Schedule: Branch creation - "after 3pm on Wednesday" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
Release Notes: