mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 10:23:32 +00:00
![]() `__CARGO_FIX_YOLO=1` is a hack, but it does help a lot with the tedious fixes where the result is fairly clear. See https://rust-lang.github.io/rust-clippy/master/index.html#needless_return ``` __CARGO_FIX_YOLO=1 cargo clippy --fix --all-targets --workspace --exclude gstreamer-player --exclude i-slint-backend-linuxkms --exclude uefi-demo --exclude ffmpeg -- -A clippy::all -W clippy::needless_return cargo fmt --all ``` |
||
---|---|---|
.. | ||
experiments | ||
transforms | ||
Cargo.toml | ||
main.rs | ||
README.md |
Slint Updater
This program is a tool to upgrade .slint
files from the Slint Project to the latest syntax.
The Slint Design Language evolves, with new features being added and old ones marked for deprecation. Use this tool to
automatically upgrade your .slint
files to the latest syntax.
Installation
The updater can be installed from crates.io:
cargo install slint-updater
Usage:
slint-updater -i /path/to/my/app/ui/**/*.slint