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

i-slint-backend-selector

Helper crate to pick the default rendering backend for Slint

28 releases (16 stable)

new 1.6.0 May 13, 2024
1.5.1 Mar 20, 2024
1.4.1 Feb 2, 2024
1.3.2 Dec 1, 2023
0.2.1 Mar 10, 2022

#923 in GUI

Download history 1908/week @ 2024-01-24 2163/week @ 2024-01-31 1918/week @ 2024-02-07 3373/week @ 2024-02-14 3330/week @ 2024-02-21 2499/week @ 2024-02-28 2294/week @ 2024-03-06 3167/week @ 2024-03-13 3317/week @ 2024-03-20 2687/week @ 2024-03-27 2532/week @ 2024-04-03 2411/week @ 2024-04-10 2528/week @ 2024-04-17 2561/week @ 2024-04-24 2297/week @ 2024-05-01 1942/week @ 2024-05-08

9,953 downloads per month
Used in 27 crates (4 directly)

GPL-3.0-only…

2MB
35K 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

~4–51MB
~778K SLoC