Skip to content

Commit

Permalink
chore: deny crates in git
Browse files Browse the repository at this point in the history
  • Loading branch information
zonyitoo committed Nov 4, 2024
1 parent 72abec1 commit 05f214d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ skip-tree = [
[sources]
# Lint level for what to happen when a crate from a crate registry that is not
# in the allow list is encountered
unknown-registry = "warn"
unknown-registry = "deny"
# Lint level for what to happen when a crate from a git repository that is not
# in the allow list is encountered
unknown-git = "warn"
unknown-git = "deny"
# List of URLs for allowed crate registries. Defaults to the crates.io index
# if not specified. If it is specified but empty, no registries are allowed.
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
Expand Down

0 comments on commit 05f214d

Please sign in to comment.