slint/internal/backends/selector
Simon Hausmann 4f7de3d466 Fix minimal build with only the LinuxKMS backend
Reproducer: cargo build -p slint --no-default-features --features compat-1-2,backend-linuxkms,renderer-software

The Backend type isn't needed in the default_backend module alias.

Fixes #9138
2025-08-13 07:16:32 +00:00
..
LICENSES Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
api.rs winit: Expose the custom application handler trait in BackendSelector 2025-08-06 08:54:01 +02:00
build.rs Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00
Cargo.toml LinuxKMS: Add support for libinput event hooks 2025-08-06 08:54:01 +02:00
lib.rs Fix minimal build with only the LinuxKMS backend 2025-08-13 07:16:32 +00:00
README.md Simplify commercial license (#3063) 2024-05-31 14:06:17 +02:00

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