summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/verify-locked-down-signatures.yml3
-rw-r--r--Cargo.toml5
-rw-r--r--test/Cargo.toml5
3 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/verify-locked-down-signatures.yml b/.github/workflows/verify-locked-down-signatures.yml
index 0da233e2be..0e36154a15 100644
--- a/.github/workflows/verify-locked-down-signatures.yml
+++ b/.github/workflows/verify-locked-down-signatures.yml
@@ -4,7 +4,10 @@ on:
pull_request:
paths:
- .github/workflows/verify-locked-down-signatures.yml
+ - Cargo.toml
+ - test/Cargo.toml
- Cargo.lock
+ - test/Cargo.lock
- deny.toml
- test/deny.toml
- gui/package-lock.json
diff --git a/Cargo.toml b/Cargo.toml
index 6cc9f3c797..c79b3969ff 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,7 +40,12 @@ members = [
"tunnel-obfuscation",
]
+# Keep all lints in sync with `test/Cargo.toml`
[workspace.lints.rust]
+# Security
+non_ascii_idents = "forbid"
+
+# Modern, easy to read style and opinionated best practices
rust_2018_idioms = "deny"
[workspace.lints.clippy]
diff --git a/test/Cargo.toml b/test/Cargo.toml
index 4a3fe414ec..35c87980e9 100644
--- a/test/Cargo.toml
+++ b/test/Cargo.toml
@@ -15,7 +15,12 @@ members = [
"connection-checker",
]
+# Keep all lints in sync with `../Cargo.toml`
[workspace.lints.rust]
+# Security
+non_ascii_idents = "forbid"
+
+# Modern, easy to read style and opinionated best practices
rust_2018_idioms = "deny"
[workspace.lints.clippy]