docs/nightly-release-notes.md
This GitHub release is a nightly snapshot of Slint development. It serves to provide access to pre-release binaries.
The attached binaries are updated once a day by a GitHub action building from the {branch} branch.
For Rust users, include the following in your Cargo.toml (or .cargo/config.toml):
[patch.crates-io]
slint = { git = "https://github.com/slint-ui/slint", branch = "{branch}" }
slint-build = { git = "https://github.com/slint-ui/slint", branch = "{branch}" }
Please note: All Slint dependencies need to be on the same revision. To update and run, use cargo update and cargo run.
Make sure the log shows you are building the right version of Slint.
For C++ users with a binary package, download the binary from the "Assets" section below.
If you're building from source with CMake's FetchContent, change the GIT_TAG to {branch}:
FetchContent_Declare(
Slint
GIT_REPOSITORY https://github.com/slint-ui/slint.git
GIT_TAG {branch} # Change this to {branch}
SOURCE_SUBDIR api/cpp
)
Remember to remove your build directory and re-run cmake.
Run npm install slint-ui@nightly to install or upgrade. This works for new and existing projects.
Add the following section to your pyproject.toml to configure uv to build Slint from sources:
[tool.uv.sources]
slint = { git = "https://github.com/slint-ui/slint", subdirectory = "api/python/slint" }
For VSCode, you download the "Slint (Nightly)" extension from the Visual Studio Code Marketplace. Note that you need to disable or uninstall an existing version of the Slint VS Code extension.
For other editors, you compile the latest version of the Slint Language Server with:
cargo install --git https://github.com/slint-ui/slint slint-lsp --branch {branch}
Alternatively, download the binary from "Assets" section below.