diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-03-26 10:15:18 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-03-26 10:44:41 +0100 |
| commit | 236059ef71ae666f4d7064fab0a77f390b531fc4 (patch) | |
| tree | 45af61cce9875f5353a3ef6b30d688f06325fca6 | |
| parent | cf4c0107a21fc65c7d5ab43fae1a88577a26113d (diff) | |
| download | mullvadvpn-236059ef71ae666f4d7064fab0a77f390b531fc4.tar.xz mullvadvpn-236059ef71ae666f4d7064fab0a77f390b531fc4.zip | |
Update cargo deny targets
Adds Android and iOS targets
| -rw-r--r-- | deny.toml | 14 | ||||
| -rw-r--r-- | test/deny.toml | 19 |
2 files changed, 24 insertions, 9 deletions
@@ -1,8 +1,20 @@ +[graph] +# cargo deny will only evaluate dependencies pulled in by these +# targets (the ones we ship Rust code to) targets = [ + # Desktop { triple = "x86_64-unknown-linux-gnu" }, { triple = "x86_64-pc-windows-gnu" }, { triple = "x86_64-apple-darwin" }, - { triple = "aarch64-apple-darwin" } + { triple = "aarch64-apple-darwin" }, + # Android + { triple = "x86_64-linux-android" }, + { triple = "i686-linux-android" }, + { triple = "aarch64-linux-android" }, + { triple = "armv7-linux-androideabi" }, + # iOS + { triple = "x86_64-apple-ios" }, + { triple = "aarch64-apple-ios" }, ] # This section is considered when running `cargo deny check advisories` diff --git a/test/deny.toml b/test/deny.toml index 319d82177a..ae67c48da8 100644 --- a/test/deny.toml +++ b/test/deny.toml @@ -1,3 +1,14 @@ +[graph] +# cargo deny will only evaluate dependencies pulled in by these +# targets (the ones we run the test runner on) +targets = [ + { triple = "x86_64-unknown-linux-gnu" }, + { triple = "x86_64-pc-windows-gnu" }, + { triple = "x86_64-apple-darwin" }, + { triple = "aarch64-apple-darwin" } +] + + # This section is considered when running `cargo deny check advisories` # More documentation for the advisories section can be found here: # https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html @@ -86,11 +97,3 @@ allow-git = [] [sources.allow-org] # 1 or more github.com organizations to allow git sources for github = ["mullvad"] - -[graph] -targets = [ - { triple = "x86_64-unknown-linux-gnu" }, - { triple = "x86_64-pc-windows-gnu" }, - { triple = "x86_64-apple-darwin" }, - { triple = "aarch64-apple-darwin" } -] |
