[package]
name = "todo"
build = "build.rs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
slint = "1.0.2"
[build-dependencies]
slint-build = "1.0.2"
[profile.dev.build-override]
debug=true
[profile.release.build-override]
debug=true
cargo build --release
generate todo.exe
while click the todo.exe, as the below image
the code:
main.rs
build.rs
ui/hello.slint
cargo.toml
thank you!