#slint #back-end #build-time #env-var #rendering #default #user-interface

i-slint-backend-selector

Helper crate to pick the default rendering backend for Slint

32 releases (20 stable)

1.8.0 Sep 23, 2024
1.7.1 Jul 25, 2024
1.5.1 Mar 20, 2024
1.3.2 Dec 1, 2023
0.2.1 Mar 10, 2022

#1035 in GUI

Download history 9653/week @ 2024-08-20 8089/week @ 2024-08-27 10567/week @ 2024-09-03 9916/week @ 2024-09-10 11947/week @ 2024-09-17 12411/week @ 2024-09-24 13983/week @ 2024-10-01 10315/week @ 2024-10-08 10762/week @ 2024-10-15 12293/week @ 2024-10-22 11253/week @ 2024-10-29 12169/week @ 2024-11-05 2744/week @ 2024-11-12 2617/week @ 2024-11-19 3164/week @ 2024-11-26 2902/week @ 2024-12-03

11,931 downloads per month
Used in 34 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–45MB
~750K SLoC