diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-04-02 10:55:50 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-04-02 10:55:50 +0200 |
| commit | 03be1ea82c036ac5fec780dcd6d55d19fcf6df0c (patch) | |
| tree | 98484c2762b4b585e1c19e3f09be8b3cb898ecb6 | |
| parent | ba779e988e7d48c5d7051e1eb59b77da195da1a6 (diff) | |
| parent | cca4bc321bea5bcd278f8c5f47a6edf385461854 (diff) | |
| download | mullvadvpn-03be1ea82c036ac5fec780dcd6d55d19fcf6df0c.tar.xz mullvadvpn-03be1ea82c036ac5fec780dcd6d55d19fcf6df0c.zip | |
Merge branch 'forbid-unicode-idents-in-rust'
| -rw-r--r-- | .github/workflows/verify-locked-down-signatures.yml | 3 | ||||
| -rw-r--r-- | Cargo.toml | 5 | ||||
| -rw-r--r-- | test/Cargo.toml | 5 |
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] |
