mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 22:50:19 +00:00
7cb4d3cb43
# Objective - Unify buffer APIs - Also see #4272 ## Solution - Replace vendored `crevice` with `encase` --- ## Changelog Changed `StorageBuffer` Added `DynamicStorageBuffer` Replaced `UniformVec` with `UniformBuffer` Replaced `DynamicUniformVec` with `DynamicUniformBuffer` ## Migration Guide ### `StorageBuffer` removed `set_body()`, `values()`, `values_mut()`, `clear()`, `push()`, `append()` added `set()`, `get()`, `get_mut()` ### `UniformVec` -> `UniformBuffer` renamed `uniform_buffer()` to `buffer()` removed `len()`, `is_empty()`, `capacity()`, `push()`, `reserve()`, `clear()`, `values()` added `set()`, `get()` ### `DynamicUniformVec` -> `DynamicUniformBuffer` renamed `uniform_buffer()` to `buffer()` removed `capacity()`, `reserve()` Co-authored-by: Carter Anderson <mcanders1@gmail.com>
58 lines
1.8 KiB
TOML
58 lines
1.8 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"
|
|
|
|
[[licenses.clarify]]
|
|
name = "stretch"
|
|
expression = "MIT"
|
|
license-files = []
|
|
|
|
[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.6" }, # from gilrs v0.8.1
|
|
{ name = "core-foundation", version = "0.7" }, # from winit v0.26.0
|
|
{ name = "core-foundation-sys", version = "0.6" }, # from gilrs v0.8.1
|
|
{ name = "core-foundation-sys", version = "0.7" }, # from winit v0.26.0
|
|
{ name = "core-graphics", version = "0.19" }, # from winit v0.26.0
|
|
{ name = "mach", version = "0.2" }, # from gilrs v0.8.1
|
|
{ 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 = "wasi", version = "0.10"}, # from ahash v0.7.6
|
|
]
|
|
|
|
[sources]
|
|
unknown-registry = "deny"
|
|
unknown-git = "deny"
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
allow-git = []
|