#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

#1164 in GUI

Download history 8162/week @ 2024-07-29 7642/week @ 2024-08-05 9315/week @ 2024-08-12 10030/week @ 2024-08-19 9086/week @ 2024-08-26 9081/week @ 2024-09-02 10067/week @ 2024-09-09 11618/week @ 2024-09-16 12514/week @ 2024-09-23 13648/week @ 2024-09-30 11027/week @ 2024-10-07 10168/week @ 2024-10-14 12748/week @ 2024-10-21 11015/week @ 2024-10-28 13848/week @ 2024-11-04 2901/week @ 2024-11-11

40,766 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