[package]
name = "skia-window"
version = "0.1.1"
edition = "2021"
description = "Rendering window with skia"
license = "MIT"
[features]
default = ["egl", "wayland", "wgl"]
desktop = []
egl = ["glutin/egl"]
glx = ["glutin/glx", "glutin/x11", "winit/x11", "x11"]
wgl = ["glutin/wgl"]
x11 = ["glutin/x11", "winit/x11"]
wayland = ["glutin/wayland", "winit/wayland", "winit/wayland-dlopen", "winit/wayland-csd-adwaita-notitle"]
[dependencies]
log = "0.4"
winit = { package = "deft-winit", version = "0.30.5", features = ["android-native-activity", "rwh_05"] }
glutin = "0.31"
measure_time = "0.8.3"
raw-window-handle = "0.5.0"
skia-safe = { package = "deft-skia-safe", features = ["binary-cache", "textlayout", "svg", "x11", "gl"], default-features = false, version = "0.81.0" }
gl = "0.14.0"
[target.'cfg(not(target_os = "android"))'.dependencies]
env_logger = "0.10"
softbuffer = "0.4.6"
[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.11.0"
[build-dependencies]
gl_generator = "0.14"
cfg_aliases = "0.1.1"