slint/sixtyfps_runtime/rendering_backends/default/Cargo.toml
Olivier Goffart 3380383787 Bump version number
(Does not include docs and README yet)
2021-04-26 13:16:48 +02:00

43 lines
1.4 KiB
TOML

[package]
name = "sixtyfps-rendering-backend-default"
version = "0.0.6"
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.6", path = "../../corelib" }
sixtyfps-rendering-backend-gl = { version = "=0.0.6", path = "../gl", optional = true }
sixtyfps-rendering-backend-qt = { version = "=0.0.6", 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.6", 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.6", path = "../gl" }