Skip to content

Commit

Permalink
Merge pull request #1698 from rerun-io/cargo-deny
Browse files Browse the repository at this point in the history
cargo-deny
  • Loading branch information
HeroicKatora committed Apr 12, 2022
2 parents b2018f8 + 3589d2c commit 8860c3d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust.yml
Expand Up @@ -159,3 +159,8 @@ jobs:
with:
command: fmt
args: -- --check
cargo-deny:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
37 changes: 37 additions & 0 deletions deny.toml
@@ -0,0 +1,37 @@
# https://embarkstudios.github.io/cargo-deny/

targets = [
{ triple = "aarch64-apple-darwin" },
{ triple = "aarch64-linux-android" },
{ triple = "x86_64-apple-darwin" },
{ triple = "x86_64-pc-windows-msvc" },
{ triple = "x86_64-unknown-linux-gnu" },
{ triple = "x86_64-unknown-linux-musl" },
]


[advisories]
vulnerability = "deny"
unmaintained = "warn"
yanked = "deny"
ignore = [
"RUSTSEC-2020-0071", # https://rustsec.org/advisories/RUSTSEC-2020-0071 - Potential segfault in the time crate.
"RUSTSEC-2020-0159", # https://rustsec.org/advisories/RUSTSEC-2020-0159 - Potential segfault in `localtime_r` invocations.
]


[bans]
multiple-versions = "deny"
wildcards = "allow" # at least until https://github.com/EmbarkStudios/cargo-deny/issues/241 is fixed
deny = []
skip = []
skip-tree = [
{ name = "criterion" }, # dev-dependency
{ name = "quickcheck" }, # dev-dependency
]


[licenses]
unlicensed = "allow"
allow-osi-fsf-free = "either"
copyleft = "allow"

0 comments on commit 8860c3d

Please sign in to comment.