slint/tools/updater
Simon Hausmann b70a008360 Ensure error reporting when using buffered file writes
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.
2025-08-20 10:22:45 +02:00
..
experiments compiler: Add a struct to hold a ChildrenInsertionPoint 2025-05-27 10:49:26 +02:00
transforms Auto-fixed clippy::unnecessary_map_or 2025-02-07 09:02:31 +01:00
Cargo.toml Remormat all the toml file again to fix npm upload 2025-04-09 15:06:00 +02:00
main.rs Ensure error reporting when using buffered file writes 2025-08-20 10:22:45 +02:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00

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