Ioan Michnea
b93312d046
Update Slint to 1.18.1
2026-09-22 16:06:58 +02:00
Joshua Goins
0ce0692fe5
Rewrite callback in a more future-proof and hackable way
...
This might be someone's first time dealing with callbacks and the dance
you have to do in Rust Slint code with weak handles. While the previous
code worked, if you try to expand the callback with multiple arguments
it quickly devolves into an unsolvable whack-a-mole game of confusing
compiler errors.
What other examples do and what actually scales is turning it into a
weak handle outside of the callback closure and having the top-level
closure move everything.
2026-06-24 08:29:31 +02:00
Joshua Goins
d66f1cc74b
Switch to Rust 2024 edition
...
Might as well encourage developers to use this version when generating
a project based on the template.
2026-06-24 08:29:31 +02:00
Joshua Goins
9020645573
Update to Slint 1.16.1
...
Updated to the latest version on Crates.io right now.
2026-06-23 15:29:42 +02:00
Alexander Zaitsev
0f3f1b45ec
feat: enable FatLTO and codegen-units = 1 optimizations for Release profile
2026-03-17 09:38:19 +01:00
Joshua Goins
8bf4ca6a00
Update to Slint 1.14.1
...
This is the latest released version, and nothing special had to be
changed for this update.
2025-11-13 17:10:09 +01:00
Tasuku Suzuki
85e1ffe2a5
update to Slint 1.12.1
2025-07-15 13:05:47 +02:00
Simon Hausmann
c3ae8db8af
Windows: Increase default stack size ( #33 )
...
While not strictly required for this particular example, it's a better
default for Rust development and good to get out of the way instead of
running into it and then looking for this fix in the docs.
cc slint-ui/slint#4586
2025-06-16 15:20:00 +02:00
Tobias Hunger
8cb5817b29
.gitignore some popular non-git VCS system folders
2024-10-29 13:40:58 +01:00
Tobias Hunger
bf3155b409
update to Slint 1.8.0
2024-10-29 13:40:58 +01:00
Enyium
f7f476180a
Used expect() instead of unwrap() in build.rs.
2024-10-01 11:37:20 +02:00
Enyium
6881460191
Fixed kebab casing of previous appwindow.slint.
2024-09-23 13:47:56 +02:00
Simon Hausmann
ca9f0ff7f9
Recommend the use of the zip archive instead of a git clone
...
The history of this repository shall not be relevant for our users.
2024-09-18 10:28:44 +02:00
Simon Hausmann
74e7599924
Remove the requirement to use cargo-generate
...
This eliminates an entire extra step.
2024-09-09 13:06:27 +02:00
Enyium
91e6d34927
Make main() return value more general.
2024-09-09 11:18:07 +02:00
Enyium
546c00a0f6
Format Rust with rustfmt in VS Code.
...
User can add `"editor.formatOnSave": true`, if desired.
2024-09-02 16:32:37 +02:00
Enyium
b289f883c6
Improve and correct readme. ( #26 )
2024-09-02 16:31:46 +02:00
Enyium
a7928faf9f
Get rid of console window on Windows.
2024-09-02 16:31:16 +02:00
Enyium
75180e22c6
Removed unnecessary Cargo.toml build field.
2024-09-02 13:35:40 +02:00
Enyium
0ff0fed622
Update precise Slint version.
...
Imprecise versions can get the downstream user an unintendedly old version. Set precedent using precise version.
2024-09-02 13:30:43 +02:00
Simon Hausmann
5cb70d5f11
Remove authors line not mandatory anymore
2024-08-26 09:21:09 +02:00
Rafael Bachmann
f2508d3771
Format appwindow.slint
...
The recommended slint extension mildly reformats the appwindow.slint right after it has been generated. Not a big deal, but not smooth either
2024-07-12 19:31:29 +02:00
Olivier Goffart
d27f2abb37
Update Slint version in Cargo.toml
...
Closes https://github.com/slint-ui/slint-rust-template/issues/17
2024-05-24 11:52:00 +02:00
Marco Thaller
8eb624f613
Update Slint version in Cargo.toml
2024-04-22 08:24:09 +02:00
Simon Hausmann
6f1ffc878f
Update Slint version in Cargo.toml
2024-01-31 14:33:49 +01:00
Simon Hausmann
1f771e03c0
Make the callback on value increase copy & paste friendly
2024-01-19 20:24:51 +01:00
Olivier Goffart
52aa45757f
Update Slint version in Cargo.toml
2024-01-19 10:16:49 +01:00
Olivier Goffart
72f1e3092a
Update URLs in README
2024-01-04 11:22:41 +01:00
Olivier Goffart
ec19facd71
Create LICENSE
2023-08-01 18:04:37 +02:00
Peter Robertson
b17e95fea2
remove end of line spaces
...
Removed unnecessary spaces at the ends of line 6 and 12.
2023-04-08 07:19:25 +02:00
Peter Robertson
7f2e652ac9
fix indentation
...
Curl brace on line 16 was over indented.
2023-04-07 23:27:34 +02:00
Tobias Hunger
028d097a6f
Update to slint 1.0
2023-04-03 11:45:45 +02:00
Simon Hausmann
9ff2eb9eb3
Bump to version 0.3.5
...
Not strictly required though, but good starting point
2023-02-21 10:40:01 +01:00
Olivier Goffart
115b63e528
Run the syntax updater to use the new syntax
2023-01-25 15:32:26 +01:00
Olivier Goffart
e98d1eb335
Fix cargo-generate command
...
Fixes #4
2022-10-10 07:00:42 +02:00
Olivier Goffart
d7284af573
Update version to 0.3
2022-09-14 16:21:42 +02:00
Olivier Goffart
b4643c846d
Update rust-analyzer extension id
...
Rust-Analyzer's extension id was renamed
2022-09-13 09:26:44 +02:00
Olivier Goffart
5c941bec39
Upgrade to the 2021 editon
2022-09-12 16:40:46 +02:00
Gérald Lelong
93743148ab
fix vscode extension link
2022-05-17 23:00:28 +02:00
Jared Moulton
4a68c10dcd
Fix a typo for the url to the online docs
2022-02-11 07:15:30 +01:00
Olivier Goffart
f1bc2b3298
Update to Slint 0.2
2022-02-10 09:18:25 +01:00
Olivier Goffart
d8f362a9e5
Add link in the README
2021-09-27 08:57:50 +02:00
Simon Hausmann
7f977f2e21
Initial Rust Template
2021-09-24 13:21:11 +02:00
Simon Hausmann
57ec6aef87
Initial commit
2021-09-23 13:15:21 +02:00