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

i-slint-backend-selector

Helper crate to pick the default rendering backend for Slint

27 releases (15 stable)

1.5.1 Mar 20, 2024
1.4.1 Feb 2, 2024
1.3.2 Dec 1, 2023
1.3.1 Nov 28, 2023
0.2.1 Mar 10, 2022

#823 in GUI

Download history 1436/week @ 2024-01-01 2421/week @ 2024-01-08 2042/week @ 2024-01-15 2008/week @ 2024-01-22 2202/week @ 2024-01-29 1854/week @ 2024-02-05 2669/week @ 2024-02-12 3567/week @ 2024-02-19 2803/week @ 2024-02-26 2305/week @ 2024-03-04 2895/week @ 2024-03-11 3338/week @ 2024-03-18 2722/week @ 2024-03-25 2710/week @ 2024-04-01 2197/week @ 2024-04-08 2686/week @ 2024-04-15

10,756 downloads per month
Used in 23 crates (4 directly)

GPL-3.0-only…

2MB
34K 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–49MB
~764K SLoC