summaryrefslogtreecommitdiffhomepage
path: root/mullvad-paths
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2023-07-13 16:21:27 +0200
committerLinus Färnstrand <linus@mullvad.net>2024-01-04 18:06:21 +0100
commit6c7cabdd1492399618f0ecc8840b3c3dddfaeb3e (patch)
tree1850a137237d86b32acedaa612dd01c7b17b680f /mullvad-paths
parentd081fab3bd95b306b432fce38c926db37f7d68b6 (diff)
downloadmullvadvpn-6c7cabdd1492399618f0ecc8840b3c3dddfaeb3e.tar.xz
mullvadvpn-6c7cabdd1492399618f0ecc8840b3c3dddfaeb3e.zip
Add workspace level lints
Diffstat (limited to 'mullvad-paths')
-rw-r--r--mullvad-paths/Cargo.toml3
-rw-r--r--mullvad-paths/src/lib.rs2
2 files changed, 3 insertions, 2 deletions
diff --git a/mullvad-paths/Cargo.toml b/mullvad-paths/Cargo.toml
index cacd8526a2..df8a66635a 100644
--- a/mullvad-paths/Cargo.toml
+++ b/mullvad-paths/Cargo.toml
@@ -8,6 +8,9 @@ license.workspace = true
edition.workspace = true
publish.workspace = true
+[lints]
+workspace = true
+
[dependencies]
err-derive = { workspace = true }
diff --git a/mullvad-paths/src/lib.rs b/mullvad-paths/src/lib.rs
index cdbad6bc7b..4fe401016b 100644
--- a/mullvad-paths/src/lib.rs
+++ b/mullvad-paths/src/lib.rs
@@ -1,5 +1,3 @@
-#![deny(rust_2018_idioms)]
-
#[cfg(not(target_os = "windows"))]
use std::fs;
use std::{io, path::PathBuf};