add formatter

This commit is contained in:
Lutsai Aleksandr 2024-12-16 21:51:34 +03:00
parent 7f2ac0f3f3
commit 3fa98701d5
2 changed files with 12 additions and 0 deletions

View file

@ -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

1
rustfmt.toml Normal file
View file

@ -0,0 +1 @@
edition = "2024"