mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
3900b48c88
# Objective - Update winit to 0.28 ## Solution - Small API change - A security advisory has been added for a unmaintained crate used by a dependency of winit build script for wayland I didn't do anything for Android support in this PR though it should be fixable, it should be done in a separate one, maybe https://github.com/bevyengine/bevy/pull/6830 --- ## Changelog - `window.always_on_top` has been removed, you can now use `window.window_level` ## Migration Guide before: ```rust app.new() .add_plugins(DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { always_on_top: true, ..default() }), ..default() })); ``` after: ```rust app.new() .add_plugins(DefaultPlugins.set(WindowPlugin { primary_window: Some(Window { window_level: bevy:🪟:WindowLevel::AlwaysOnTop, ..default() }), ..default() })); ```
57 lines
2 KiB
TOML
57 lines
2 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 cpal v0.14.1 - unmaintained - https://github.com/koute/stdweb/issues/403
|
|
"RUSTSEC-2022-0048", # from xml-rs 0.8.4 - unmaintained - it's used in a build script of winit
|
|
]
|
|
|
|
[licenses]
|
|
unlicensed = "deny"
|
|
copyleft = "deny"
|
|
allow = [
|
|
"MIT",
|
|
"MIT-0",
|
|
"Apache-2.0",
|
|
"BSD-3-Clause",
|
|
"ISC",
|
|
"Zlib",
|
|
"0BSD",
|
|
"BSD-2-Clause",
|
|
"CC0-1.0",
|
|
]
|
|
exceptions = [
|
|
{ name = "unicode-ident", allow = ["Unicode-DFS-2016"] },
|
|
]
|
|
default = "deny"
|
|
|
|
[bans]
|
|
multiple-versions = "deny"
|
|
wildcards = "deny"
|
|
highlight = "all"
|
|
# Certain crates/versions that will be skipped when doing duplicate detection.
|
|
skip = [
|
|
{ name = "ndk-sys", version = "0.3" }, # from rodio v0.16.0
|
|
{ name = "ndk", version = "0.6" }, # from rodio v0.16.0
|
|
{ name = "nix", version = "0.23" }, # from cpal v0.14.1
|
|
{ name = "redox_syscall", version = "0.2" }, # from notify v5.1.0
|
|
{ name = "rustc_version", version = "0.2" }, # from postcard v1.0.2
|
|
{ name = "semver", version = "0.9" }, # from postcard v1.0.2
|
|
{ name = "windows-sys", version = "0.42" }, # from notify v5.1.0
|
|
{ name = "windows", version = "0.37" }, # from rodio v0.16.0
|
|
{ name = "windows_aarch64_msvc", version = "0.37" }, # from rodio v0.16.0
|
|
{ name = "windows_i686_gnu", version = "0.37" }, # from rodio v0.16.0
|
|
{ name = "windows_i686_msvc", version = "0.37" }, # from rodio v0.16.0
|
|
{ name = "windows_x86_64_gnu", version = "0.37" }, # from rodio v0.16.0
|
|
{ name = "windows_x86_64_msvc", version = "0.37" }, # from rodio v0.16.0
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = []
|