[package]
name = "druid-shell"
version = "0.3.2"
license = "Apache-2.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Platform abstracting application shell used for druid toolkit."
repository = "https://github.com/xi-editor/druid"
categories = ["os::macos-apis", "os::windows-apis", "gui"]
edition = "2018"
[features]
use_gtk = ["gtk", "gio", "gdk", "gdk-sys", "glib", "glib-sys", "cairo-rs"]
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
[dependencies]
piet-common = "0.0.7"
log = "0.4.8"
lazy_static = "1.0"
time = "0.1.39"
cairo-rs = { version = "0.7.1", default_features = false, optional = true }
gio = { version = "0.7.0", optional = true }
gdk = { version = "0.11.0", optional = true }
gdk-sys = { version = "0.9.0", optional = true }
gtk = { version = "0.7.0", optional = true }
glib = { version = "0.8.1", optional = true }
glib-sys = { version = "0.9.0", optional = true }
gtk-sys = { version = "0.9.0", optional = true }
[target.'cfg(target_os="windows")'.dependencies]
directwrite = "0.1.2"
direct2d = "0.2.0"
wio = "0.2"
[target.'cfg(target_os="windows")'.dependencies.winapi]
version = "0.3.6"
features = ["d2d1_1", "dwrite", "winbase", "libloaderapi", "errhandlingapi", "winuser", "shellscalingapi", "shobjidl", "combaseapi", "synchapi", "dxgi1_3", "dcomp", "d3d11", "dwmapi", "wincon", "fileapi", "processenv", "winbase", "handleapi"]
[target.'cfg(target_os="macos")'.dependencies]
cocoa = "0.19.0"
objc = "0.2.5"
cairo-rs = { version = "0.7.1", default_features = false }
[target.'cfg(target_os="linux")'.dependencies]
cairo-rs = { version = "0.7.1", default_features = false }
gio = "0.7.0"
gdk = "0.11.0"
gdk-sys = "0.9.0"
glib = "0.8.1"
glib-sys = "0.9.0"
gtk-sys = "0.9.0"
[target.'cfg(target_os="linux")'.dependencies.gtk]
version = "0.7.0"
features = ["v3_20"]