[package] name = "sixtyfps-rendering-backend-default" version = "0.1.5" authors = ["SixtyFPS "] 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"] [dependencies] sixtyfps-corelib = { version = "=0.1.5", path = "../../corelib" } sixtyfps-rendering-backend-gl = { version = "=0.1.5", path = "../gl", optional = true } sixtyfps-rendering-backend-qt = { version = "=0.1.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.1.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.1.5", path = "../gl" }