mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
86dd6f065d
# 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.
51 lines
1.7 KiB
TOML
51 lines
1.7 KiB
TOML
[advisories]
|
|
db-path = "~/.cargo/advisory-db"
|
|
db-urls = ["https://github.com/rustsec/advisory-db"]
|
|
vulnerability = "deny"
|
|
unmaintained = "deny"
|
|
yanked = "deny"
|
|
notice = "deny"
|
|
ignore = [
|
|
"RUSTSEC-2020-0056", # from gilrs v0.8.1 - unmaintained - https://github.com/koute/stdweb/issues/403
|
|
]
|
|
|
|
[licenses]
|
|
unlicensed = "deny"
|
|
copyleft = "deny"
|
|
allow = [
|
|
"MIT",
|
|
"MIT-0",
|
|
"Apache-2.0",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"0BSD",
|
|
"BSD-2-Clause",
|
|
"CC0-1.0",
|
|
]
|
|
default = "deny"
|
|
|
|
[bans]
|
|
multiple-versions = "deny"
|
|
wildcards = "deny"
|
|
highlight = "all"
|
|
# Certain crates/versions that will be skipped when doing duplicate detection.
|
|
skip = [
|
|
{ name = "cfg-if", version = "0.1" }, # from winit v0.26.0
|
|
{ name = "core-foundation", version = "0.7" }, # from winit v0.26.0
|
|
{ name = "core-foundation-sys", version = "0.7" }, # from winit v0.26.0
|
|
{ name = "core-graphics", version = "0.19" }, # from winit v0.26.0
|
|
{ name = "hashbrown", version = "0.11" }, # from wgpu v0.12 - https://github.com/zakarumych/gpu-descriptor/pull/21
|
|
{ name = "mio", version = "0.7" }, # from notify v5.0.0-pre.11
|
|
{ name = "ndk", version = "0.5" }, # from winit v0.26.1
|
|
{ name = "ndk-glue", version = "0.5" }, # from winit v0.26.1
|
|
{ name = "ndk-sys", version = "0.2" }, # from winit v0.26.1
|
|
{ name = "stdweb", version = "0.1" }, # from rodio v0.15.0
|
|
{ name = "nix", version = "0.23.1" }, # from alsa v0.6.0
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = []
|