diff --git a/Cargo.toml b/Cargo.toml index e1a4a30..ab8c86c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,3 +10,14 @@ sys-mount = "3.0.1" tokio = {version = "1.42.0", features = ["full"]} tokio-stream = "0.1.17" udisks2 = "0.2.0" + +[lints.clippy] +pedantic = { level = "warn", priority = -1 } +must_use_candidate = { level = "allow" } +expect_used = { level = "allow" } +unwrap_used = { level = "warn" } +panic = { level = "allow" } +doc_markdown = { level = "allow" } + +[profile.release] +strip = true \ No newline at end of file diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..0fb71e6 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +edition = "2024" \ No newline at end of file