summaryrefslogtreecommitdiffstats
path: root/build/cargo
diff options
context:
space:
mode:
Diffstat (limited to 'build/cargo')
-rw-r--r--build/cargo/cargo-audit.yaml6
-rw-r--r--build/cargo/cargo-check.yaml5
-rw-r--r--build/cargo/cargo-clippy.yaml5
-rw-r--r--build/cargo/cargo-deny.yaml10
-rw-r--r--build/cargo/cargo-machete.yaml4
-rw-r--r--build/cargo/cargo-udeps.yaml4
6 files changed, 34 insertions, 0 deletions
diff --git a/build/cargo/cargo-audit.yaml b/build/cargo/cargo-audit.yaml
new file mode 100644
index 0000000000..8efb56acff
--- /dev/null
+++ b/build/cargo/cargo-audit.yaml
@@ -0,0 +1,6 @@
+---
+command: cargo-audit
+continue_on_error: false
+cargo_build_flags:
+ - -f
+ - "{topsrcdir}/Cargo.lock"
diff --git a/build/cargo/cargo-check.yaml b/build/cargo/cargo-check.yaml
new file mode 100644
index 0000000000..54fe0fb825
--- /dev/null
+++ b/build/cargo/cargo-check.yaml
@@ -0,0 +1,5 @@
+---
+command: cargo-check
+continue_on_error: true
+# cargo_build_flags: []
+requires_export: true
diff --git a/build/cargo/cargo-clippy.yaml b/build/cargo/cargo-clippy.yaml
new file mode 100644
index 0000000000..74e57cdedf
--- /dev/null
+++ b/build/cargo/cargo-clippy.yaml
@@ -0,0 +1,5 @@
+---
+command: cargo-clippy
+continue_on_error: true
+requires_export: true
+# cargo_build_flags: []
diff --git a/build/cargo/cargo-deny.yaml b/build/cargo/cargo-deny.yaml
new file mode 100644
index 0000000000..fde45e37d9
--- /dev/null
+++ b/build/cargo/cargo-deny.yaml
@@ -0,0 +1,10 @@
+---
+command: cargo-deny
+continue_on_error: true
+cargo_build_flags:
+ - --frozen
+ - --manifest-path
+ - "{manifest}"
+ - --target={arch}
+ - --features
+ - "{features}"
diff --git a/build/cargo/cargo-machete.yaml b/build/cargo/cargo-machete.yaml
new file mode 100644
index 0000000000..42ec301ee0
--- /dev/null
+++ b/build/cargo/cargo-machete.yaml
@@ -0,0 +1,4 @@
+---
+command: cargo-machete
+continue_on_error: true
+cargo_build_flags: ["{topsrcdir}/{directory}/Cargo.toml"]
diff --git a/build/cargo/cargo-udeps.yaml b/build/cargo/cargo-udeps.yaml
new file mode 100644
index 0000000000..a33cfcf873
--- /dev/null
+++ b/build/cargo/cargo-udeps.yaml
@@ -0,0 +1,4 @@
+---
+command: cargo-udeps
+continue_on_error: true
+# cargo_build_flags: []