Skip to content

Commit 62e9019

Browse files
authored
Upgrade cargo-deny (#114)
1 parent 63fe1f3 commit 62e9019

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/security.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ on:
99
- main
1010
paths:
1111
- '**/Cargo.toml'
12-
- '.github/workflows/rust-security.yml'
12+
- 'deny.toml'
13+
- '.github/workflows/security.yml'
1314
pull_request:
1415
paths:
1516
- '**/Cargo.toml'
16-
- '.github/workflows/rust-security.yml'
17+
- 'deny.toml'
18+
- '.github/workflows/security.yml'
1719

1820
jobs:
1921
security_audit:
2022
runs-on: ubuntu-latest
2123
steps:
2224
- uses: actions/checkout@v4
23-
- uses: EmbarkStudios/cargo-deny-action@v1
25+
- uses: EmbarkStudios/cargo-deny-action@v2

deny.toml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[graph]
12
targets = [
23
{ triple = "x86_64-pc-windows-gnu" },
34
{ triple = "x86_64-unknown-linux-musl" },
@@ -8,29 +9,22 @@ targets = [
89
[advisories]
910
db-path = "~/.cargo/advisory-db"
1011
db-urls = ["https://github.com/rustsec/advisory-db"]
11-
vulnerability = "deny"
12-
unmaintained = "warn"
1312
yanked = "deny"
14-
notice = "warn"
15-
ignore = []
13+
ignore = [
14+
# TODO: Wait for dependencies to upgrade off of paste
15+
"RUSTSEC-2024-0436",
16+
]
1617

1718
[licenses]
18-
unlicensed = "deny"
1919
allow = [
2020
"Apache-2.0",
2121
"BSD-2-Clause",
2222
"BSD-3-Clause",
2323
"ISC",
2424
"MIT",
2525
"MPL-2.0",
26-
"OpenSSL",
2726
"Unicode-3.0",
28-
"Unicode-DFS-2016",
2927
]
30-
deny = []
31-
copyleft = "deny"
32-
allow-osi-fsf-free = "neither"
33-
default = "deny"
3428
confidence-threshold = 0.8
3529
exceptions = [
3630
#{ allow = ["Zlib"], name = "adler32", version = "*" },

0 commit comments

Comments
 (0)