2021-05-17 23:07:18 +00:00
|
|
|
[advisories]
|
|
|
|
db-path = "~/.cargo/advisory-db"
|
|
|
|
db-urls = ["https://github.com/rustsec/advisory-db"]
|
|
|
|
vulnerability = "deny"
|
|
|
|
unmaintained = "deny"
|
|
|
|
yanked = "deny"
|
|
|
|
notice = "deny"
|
|
|
|
ignore = [
|
|
|
|
]
|
|
|
|
|
|
|
|
[licenses]
|
|
|
|
unlicensed = "deny"
|
|
|
|
copyleft = "deny"
|
|
|
|
allow = [
|
|
|
|
"MIT",
|
Migrate to encase from crevice (#4339)
# 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>
2022-05-18 21:09:21 +00:00
|
|
|
"MIT-0",
|
2021-05-17 23:07:18 +00:00
|
|
|
"Apache-2.0",
|
|
|
|
"BSD-3-Clause",
|
|
|
|
"ISC",
|
|
|
|
"Zlib",
|
|
|
|
"0BSD",
|
|
|
|
"BSD-2-Clause",
|
|
|
|
"CC0-1.0",
|
|
|
|
]
|
2022-07-17 23:14:38 +00:00
|
|
|
exceptions = [
|
|
|
|
{ name = "unicode-ident", allow = ["Unicode-DFS-2016"] },
|
|
|
|
]
|
2021-05-17 23:07:18 +00:00
|
|
|
default = "deny"
|
|
|
|
|
|
|
|
[bans]
|
2023-10-16 23:12:13 +00:00
|
|
|
multiple-versions = "warn"
|
2021-05-17 23:07:18 +00:00
|
|
|
wildcards = "deny"
|
2023-10-16 23:12:13 +00:00
|
|
|
# Certain crates that we don't want multiple versions of in the dependency tree
|
|
|
|
deny = [
|
|
|
|
{ name = "ahash", deny-multiple-versions = true },
|
|
|
|
{ name = "android-activity", deny-multiple-versions = true },
|
|
|
|
{ name = "glam", deny-multiple-versions = true },
|
|
|
|
{ name = "raw-window-handle", deny-multiple-versions = true },
|
2021-05-17 23:07:18 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[sources]
|
|
|
|
unknown-registry = "deny"
|
|
|
|
unknown-git = "deny"
|
|
|
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
|
|
|
allow-git = []
|