Skip to content

Commit cb20dc0

Browse files
authored
Add apple targets to cargo-deny (#3301)
* Small cargo deny changes to add apple * Add deny.toml changed-rs check
1 parent 388a9c9 commit cb20dc0

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/ci.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
.dockerignore
9696
rust-toolchain.toml
9797
rustfmt.toml
98+
deny.toml
9899
.cargo/**
99100
- name: get markdown changes
100101
id: changed-markdown
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `x86_64-apple-darwin` and `aarch64-apple-darwin` as targets for cargo-deny check.

deny.toml

+7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
[graph]
22
targets = [
3+
"x86_64-apple-darwin",
34
"x86_64-unknown-linux-gnu",
5+
"aarch64-apple-darwin",
46
"aarch64-unknown-linux-gnu",
57
]
68
all-features = true
79

810
[advisories]
911
version = 2
1012
ignore = [
13+
"RUSTSEC-2020-0095", # difference is unmaintained. (part of apple-codesign)
14+
"RUSTSEC-2023-0071", # rsa crate, potential key recovery through timing sidechannels, though it sounds bad
15+
# we only use rsa as part of apple-codesign for re-sign binaries, so this should not matter.
1116
"RUSTSEC-2024-0436", # paste is unmaintained but we should not have an issue with it.
1217
]
1318

@@ -16,6 +21,8 @@ version = 2
1621
allow = [
1722
"Apache-2.0 WITH LLVM-exception",
1823
"Apache-2.0",
24+
"BlueOak-1.0.0",
25+
"BSL-1.0",
1926
"BSD-2-Clause",
2027
"BSD-3-Clause",
2128
"CC0-1.0",

0 commit comments

Comments
 (0)