Skip to content

Commit

Permalink
Create deny.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
CrabNejonas committed Jan 18, 2024
1 parent 7a32ddb commit cba9a0a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions deny.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Target triples to include when checking. This is essentially our supported target list.
targets = [
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "aarch64-unknown-linux-gnu" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "x86_64-apple-darwin" },
{ triple = "aarch64-apple-darwin" },
{ triple = "wasm32-unknown-unknown" },
]

all-features = true

# This section is considered when running `cargo deny check licenses`
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# List of explicitly allowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
allow = [
"MIT", # requires license notice
"Unlicense"
]

# This section is considered when running `cargo deny check bans`.
# More documentation about the 'bans' section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html
[bans]
# Warn when a crate version requirement is `*`
wildcards = "warn"

0 comments on commit cba9a0a

Please sign in to comment.