Skip to content

Commit

Permalink
fix(rust): License checks do not need to (and should not) fail on non…
Browse files Browse the repository at this point in the history
…-build dependencies. (#263)

* fix(rust): License checks do not need to (and should not) fail on non-build dependencies.

* add new "Unicode-3.0" license

---------

Co-authored-by: Mr-Leshiy <leshiy12345678@gmail.com>
  • Loading branch information
stevenj and Mr-Leshiy authored Jun 17, 2024
1 parent 0772722 commit b52a524
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion earthly/rust/scripts/std_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def main():
results.add(exec_manager.cli_run("cargo machete", name="Unused Dependencies Check"))
# Check if we have any supply chain issues with dependencies.
results.add(
exec_manager.cli_run("cargo deny check", name="Supply Chain Issues Check")
exec_manager.cli_run("cargo deny check --exclude-dev", name="Supply Chain Issues Check")
)

results.print()
Expand Down
2 changes: 1 addition & 1 deletion earthly/rust/stdcfgs/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ targets = [
"wasm32-wasip1",
"wasm32-wasip2",
]
all-features = true

[advisories]
version = 2
Expand Down Expand Up @@ -72,6 +71,7 @@ allow = [
"Apache-2.0 WITH LLVM-exception",
"CC0-1.0",
"ISC",
"Unicode-3.0"
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down
2 changes: 1 addition & 1 deletion examples/rust/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ targets = [
"wasm32-wasip1",
"wasm32-wasip2",
]
all-features = true

[advisories]
version = 2
Expand Down Expand Up @@ -72,6 +71,7 @@ allow = [
"Apache-2.0 WITH LLVM-exception",
"CC0-1.0",
"ISC",
"Unicode-3.0"
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down
2 changes: 1 addition & 1 deletion utilities/dbviz/deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ targets = [
"wasm32-wasip1",
"wasm32-wasip2",
]
all-features = true

[advisories]
version = 2
Expand Down Expand Up @@ -72,6 +71,7 @@ allow = [
"Apache-2.0 WITH LLVM-exception",
"CC0-1.0",
"ISC",
"Unicode-3.0"
]
exceptions = [
#{ allow = ["Zlib"], crate = "tinyvec" },
Expand Down

0 comments on commit b52a524

Please sign in to comment.