forked from Inako/Tofu
Merge pull request 'Init readme, format files and setup clippy' (#1) from Thoq/Tofu:main into main
Reviewed-on: Inako/Tofu#1
This commit is contained in:
+5
-1
@@ -15,4 +15,8 @@ tokio = { version = "1.53.2", features = ["rt-multi-thread", "macros"] }
|
|||||||
futures-util = "0.3.34"
|
futures-util = "0.3.34"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
slint-build = "1.18.1"
|
slint-build = "1.18.1"
|
||||||
|
|
||||||
|
[lints.clippy]
|
||||||
|
pedantic = { level = "warn", priority = -1 }
|
||||||
|
module_name_repetitions = "allow"
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
slint_build::compile("ui/main.slint").expect("Failed to compile Slint UI");
|
slint_build::compile("ui/main.slint").expect("Failed to compile Slint UI");
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -8,4 +8,4 @@ fn main() -> Result<(), Box<dyn Error>> {
|
|||||||
ui.run()?;
|
ui.run()?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -8,4 +8,4 @@ export component MainWindow inherits Window {
|
|||||||
horizontal-alignment: center;
|
horizontal-alignment: center;
|
||||||
vertical-alignment: center;
|
vertical-alignment: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user