#slint #back-end #user-interface #default #rendering #run-time #helper

i-slint-backend-selector

Helper crate to pick the default rendering backend for Slint

30 releases (18 stable)

new 1.7.1 Jul 25, 2024
1.6.0 May 13, 2024
1.5.1 Mar 20, 2024
1.3.2 Dec 1, 2023
0.2.1 Mar 10, 2022

#991 in GUI

Download history 2433/week @ 2024-04-04 2433/week @ 2024-04-11 2515/week @ 2024-04-18 2588/week @ 2024-04-25 2371/week @ 2024-05-02 2454/week @ 2024-05-09 2789/week @ 2024-05-16 2502/week @ 2024-05-23 3121/week @ 2024-05-30 10687/week @ 2024-06-06 19806/week @ 2024-06-13 17689/week @ 2024-06-20 17851/week @ 2024-06-27 8477/week @ 2024-07-04 8427/week @ 2024-07-11 6195/week @ 2024-07-18

44,192 downloads per month
Used in 27 crates (4 directly)

GPL-3.0-only…

2MB
37K SLoC

NOTE: This library is an internal crate of the Slint project. This crate should not be used directly by applications using Slint. You should use the slint crate instead.

WARNING: This crate does not follow the semver convention for versioning and can only be used with version = "=x.y.z" in Cargo.toml.

The purpose of this crate is to select the default backend for Slint

The backend can either be a runtime or a build time decision. The runtime decision is decided by the SLINT_BACKEND environment variable. The built time default depends on the platform. In order for the crate to be available at runtime, they need to be added as feature

Dependencies

~5–46MB
~758K SLoC