mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
43 lines
1.4 KiB
TOML
43 lines
1.4 KiB
TOML
[package]
|
|
name = "sixtyfps-rendering-backend-default"
|
|
version = "0.0.5"
|
|
authors = ["SixtyFPS <info@sixtyfps.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0-only"
|
|
description = "Helper crate to pick the default rendering backend for SixtyFPS"
|
|
repository = "https://github.com/sixtyfpsui/sixtyfps"
|
|
homepage = "https://sixtyfps.io"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
x11 = ["sixtyfps-rendering-backend-gl/x11"]
|
|
wayland = ["sixtyfps-rendering-backend-gl/wayland"]
|
|
default = ["sixtyfps-rendering-backend-gl"]
|
|
|
|
[dependencies]
|
|
sixtyfps-corelib = { version = "=0.0.5", path = "../../corelib" }
|
|
sixtyfps-rendering-backend-gl = { version = "=0.0.5", path = "../gl", optional = true }
|
|
sixtyfps-rendering-backend-qt = { version = "=0.0.5", path = "../qt", optional = true }
|
|
cfg-if = "1"
|
|
once_cell = "1.5"
|
|
|
|
# Desktop platform uses the Qt backend by default
|
|
[target.'cfg(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
|
|
sixtyfps-rendering-backend-qt = { version = "=0.0.5", path = "../qt" }
|
|
|
|
# Other platform uses the Gl backend
|
|
[target.'cfg(not(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd")))'.dependencies]
|
|
sixtyfps-rendering-backend-gl = { version = "=0.0.5", path = "../gl" }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|