From 82223f8ac0536b41f7f12c6eead2d2e0a9731bf9 Mon Sep 17 00:00:00 2001 From: Thoq Date: Thu, 8 Oct 2026 18:39:48 -0400 Subject: [PATCH 1/4] new: setup clippy --- Cargo.toml | 6 +++++- clippy.toml | 0 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 clippy.toml diff --git a/Cargo.toml b/Cargo.toml index 9ac4ac6..528f313 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,4 +15,8 @@ tokio = { version = "1.53.2", features = ["rt-multi-thread", "macros"] } futures-util = "0.3.34" [build-dependencies] -slint-build = "1.18.1" \ No newline at end of file +slint-build = "1.18.1" + +[lints.clippy] +pedantic = { level = "warn", priority = -1 } +module_name_repetitions = "allow" diff --git a/clippy.toml b/clippy.toml new file mode 100644 index 0000000..e69de29 From ff0ba76e8f8f4cad7e3934c0a6e5b6fbe323ff33 Mon Sep 17 00:00:00 2001 From: Thoq Date: Thu, 8 Oct 2026 18:40:10 -0400 Subject: [PATCH 2/4] chore: format da files --- src/main.rs | 2 +- ui/main.slint | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index a13a813..791f133 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,4 +8,4 @@ fn main() -> Result<(), Box> { ui.run()?; Ok(()) -} \ No newline at end of file +} diff --git a/ui/main.slint b/ui/main.slint index 1025bf5..83d08e9 100644 --- a/ui/main.slint +++ b/ui/main.slint @@ -8,4 +8,4 @@ export component MainWindow inherits Window { horizontal-alignment: center; vertical-alignment: center; } -} \ No newline at end of file +} From de2b51d2f0610c3a2e950e903997471f69d734dc Mon Sep 17 00:00:00 2001 From: Thoq Date: Thu, 8 Oct 2026 18:40:41 -0400 Subject: [PATCH 3/4] chore: format da files --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index dac917e..3e5cd6a 100644 --- a/build.rs +++ b/build.rs @@ -1,3 +1,3 @@ fn main() { slint_build::compile("ui/main.slint").expect("Failed to compile Slint UI"); -} \ No newline at end of file +} From 21c077cb3455dde9110eefe10bb67a26b6e554d6 Mon Sep 17 00:00:00 2001 From: Thoq Date: Thu, 8 Oct 2026 18:43:15 -0400 Subject: [PATCH 4/4] new: init readme --- README.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..96b4d2c --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Tofu