-
Notifications
You must be signed in to change notification settings - Fork 969
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
256 changed files
with
9,381 additions
and
3,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,48 @@ | ||
[bans] | ||
multiple-versions = "deny" | ||
skip-tree = [ | ||
# We never enable loom in any of our dependencies but it causes dupes | ||
{ name = "loom", version = "0.7.2" }, | ||
{ name = "windows-sys", version = "0.45" }, | ||
{ name = "winit", version = "0.29" }, | ||
{ name = "rustc_version", version = "0.2.3" }, | ||
{ name = "sourcemap", version = "7.1.1" }, | ||
{ name = "miniz_oxide", version = "0.7.4" }, | ||
# We never enable loom in any of our dependencies but it causes dupes | ||
{ name = "loom", version = "0.7.2" }, | ||
{ name = "windows-sys", version = "0.45" }, | ||
{ name = "winit", version = "0.29" }, | ||
{ name = "rustc_version", version = "0.2.3" }, | ||
{ name = "sourcemap", version = "7.1.1" }, | ||
{ name = "miniz_oxide", version = "0.7.4" }, | ||
] | ||
skip = [ | ||
{ name = "hlsl-snapshots", version = "0.1.0" }, | ||
# Strum uses an old version | ||
{ name = "heck", version = "0.4.0" }, | ||
{ name = "hlsl-snapshots", version = "0.1.0" }, | ||
# Strum uses an old version | ||
{ name = "heck", version = "0.4.0" }, | ||
] | ||
wildcards = "deny" | ||
allow-wildcard-paths = true | ||
|
||
[licenses] | ||
allow = [ | ||
"Apache-2.0", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"CC0-1.0", | ||
"ISC", | ||
"MPL-2.0", | ||
"MIT", | ||
"MIT-0", | ||
"Unicode-DFS-2016", | ||
"Zlib", | ||
"Apache-2.0", | ||
"Apache-2.0 WITH LLVM-exception", | ||
"BSD-2-Clause", | ||
"BSD-3-Clause", | ||
"CC0-1.0", | ||
"ISC", | ||
"MPL-2.0", | ||
"MIT", | ||
"MIT-0", | ||
"Unicode-DFS-2016", | ||
"Zlib", | ||
] | ||
|
||
[sources] | ||
allow-git = [ | ||
# Waiting on releases; used in examples only | ||
"https://github.com/Razaekel/noise-rs", | ||
"https://github.com/grovesNL/glow", | ||
"https://github.com/gfx-rs/metal-rs", | ||
# Waiting on releases; used in examples only | ||
"https://github.com/Razaekel/noise-rs", | ||
|
||
"https://github.com/grovesNL/glow", | ||
"https://github.com/gfx-rs/metal-rs", | ||
] | ||
unknown-registry = "deny" | ||
unknown-git = "deny" | ||
required-git-spec = "rev" | ||
|
||
[sources.allow-org] | ||
github = [ | ||
"gfx-rs" | ||
] | ||
github = ["gfx-rs"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -614,10 +614,19 @@ jobs: | |
rustup override set ${{ env.REPO_MSRV }} | ||
cargo -V | ||
- name: run rustfmt | ||
- name: Run `cargo fmt` | ||
run: | | ||
cargo fmt -- --check | ||
cargo fmt --manifest-path xtask/Cargo.toml -- --check | ||
cargo fmt --manifest-path naga/xtask/Cargo.toml -- --check | ||
- name: Install Taplo | ||
uses: uncenter/setup-taplo@v1 | ||
with: | ||
version: "0.9.3" | ||
|
||
- name: run `taplo fmt` | ||
run: taplo format --check --diff | ||
|
||
- name: Check for typos | ||
uses: crate-ci/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.