mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-22 08:12:48 +00:00
![]() Quoting from the BufWriter docs: >It is critical to call flush before BufWriter<W> is dropped. Though >dropping will attempt to flush the contents of the buffer, any errors >that happen in the process of dropping will be ignored. Calling flush >ensures that the buffer is empty and thus dropping will not even >attempt file operations. |
||
---|---|---|
.. | ||
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