You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document how to use cargo-packager to package, distribute, and update Slint applications with Rust #9688
For desktop applications, it would be very useful to allow the application to automatically detect new versions and guide users through the update process!
I agree with Olivier. But what we can do is give guidance in our documentation how to use third-party tools for this purpose. I suggest that we use this ticket to track documenting / recommending the use of Slint with cargo-packager when using the Rust programming language.
This is something we might need ourselves and could document it along the way then.
changed the title [-]Desktop: Automatic detection for new versions.[/-][+]Document how to use cargo-packager to package, distribute, and update Slint applications with Rust[/+]on Oct 10, 2025
Providing guidance in the documentation to implement this feature is also a very good idea. Before this, I guess many people, like me, were not aware of cargo-packager.
Additionally, is there a library that allows Rust programs to run as a single instance? This is also a common requirement for desktop applications. If such a library exists, it can also be documented together in the documentation.
Activity
ogoffart commentedon Oct 10, 2025
IMHO this is out of scope of Slint.
If anything, it could be a page or guide in the documentation on how to do that.
But Slint should concentrate on being a library to do the UI.
Building/Packaging/Updating should be taken care of by other part of the ecosystem.
tronical commentedon Oct 10, 2025
I agree with Olivier. But what we can do is give guidance in our documentation how to use third-party tools for this purpose. I suggest that we use this ticket to track documenting / recommending the use of Slint with cargo-packager when using the Rust programming language.
This is something we might need ourselves and could document it along the way then.
[-]Desktop: Automatic detection for new versions.[/-][+]Document how to use cargo-packager to package, distribute, and update Slint applications with Rust[/+]ogoffart commentedon Oct 10, 2025
Should this task be made as a sub-task of #4408 ?
tronical commentedon Oct 10, 2025
Good idea :)
bowenxuuu commentedon Oct 10, 2025
Providing guidance in the documentation to implement this feature is also a very good idea. Before this, I guess many people, like me, were not aware of cargo-packager.
Additionally, is there a library that allows Rust programs to run as a single instance? This is also a common requirement for desktop applications. If such a library exists, it can also be documented together in the documentation.
ogoffart commentedon Oct 9, 2026
Packaging has been documented in the Platforms / Desktop section