Skip to content

Commit

Permalink
ci: Track build scripts in dependency graph
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 28, 2023
1 parent 13d2123 commit 0b1573d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,34 @@ unsound = "deny"
yanked = "deny"
notice = "deny"
git-fetch-with-cli = true
ignore = []
ignore = [
]

# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
multiple-versions = "warn"
wildcards = "allow" # https://github.com/EmbarkStudios/cargo-deny/issues/488
build.allow-build-scripts = [
{ name = "anyhow" },
{ name = "camino" },
{ name = "libc" },
{ name = "proc-macro2" },
{ name = "rustix" }, # via is-terminal
{ name = "semver" }, # via cargo_metadata
{ name = "serde_json" },
{ name = "serde" },
{ name = "thiserror" }, # via cargo_metadata
{ name = "winapi-i686-pc-windows-gnu" },
{ name = "winapi-x86_64-pc-windows-gnu" },
{ name = "winapi" },
{ name = "windows_aarch64_gnullvm" },
{ name = "windows_aarch64_msvc" },
{ name = "windows_i686_gnu" },
{ name = "windows_i686_msvc" },
{ name = "windows_x86_64_gnu" },
{ name = "windows_x86_64_gnullvm" },
{ name = "windows_x86_64_msvc" },
]

# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
Expand Down
3 changes: 3 additions & 0 deletions .github/.cspell/project-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,13 @@ pacman
profdata
profraw
rustfilt
rustix
tempdir
TESTNAME
thiserror
tmpdir
trybuild
winapi
xargo
Xdemangler
xtask

0 comments on commit 0b1573d

Please sign in to comment.