# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies
#
# If you believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "druid-shell"
version = "0.6.0"
authors = ["Raph Levien <raph.levien@gmail.com>"]
description = "Platform abstracting application shell used for druid toolkit."
readme = "README.md"
categories = ["os::macos-apis", "os::windows-apis", "gui"]
license = "Apache-2.0"
repository = "https://github.com/xi-editor/druid"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
[dependencies.anyhow]
version = "1.0.31"

[dependencies.cairo-rs]
version = "0.8.1"
optional = true
default_features = false

[dependencies.cairo-sys-rs]
version = "0.9.2"
optional = true
default_features = false

[dependencies.cfg-if]
version = "0.1.10"

[dependencies.gdk]
version = "0.12.1"
optional = true

[dependencies.gdk-sys]
version = "0.9.1"
optional = true

[dependencies.gio]
version = "0.8.1"
optional = true

[dependencies.glib]
version = "0.9.3"
optional = true

[dependencies.glib-sys]
version = "0.9.1"
optional = true

[dependencies.gtk]
version = "0.8.1"
optional = true

[dependencies.gtk-sys]
version = "0.9.2"
optional = true

[dependencies.instant]
version = "0.1.4"
features = ["wasm-bindgen"]

[dependencies.kurbo]
version = "0.6.1"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4.8"

[dependencies.piet-common]
version = "0.1.1"

[dependencies.time]
version = "0.2.16"

[dependencies.xcb]
version = "0.9.0"
features = ["thread", "xlib_xcb", "randr"]
optional = true
[dev-dependencies.piet-common]
version = "0.1.1"
features = ["png"]

[features]
x11 = ["xcb", "cairo-sys-rs"]
[target."cfg(target_arch=\"wasm32\")".dependencies.js-sys]
version = "0.3.40"

[target."cfg(target_arch=\"wasm32\")".dependencies.wasm-bindgen]
version = "0.2.63"

[target."cfg(target_arch=\"wasm32\")".dependencies.web-sys]
version = "0.3.40"
features = ["Window", "MouseEvent", "CssStyleDeclaration", "WheelEvent", "KeyEvent", "KeyboardEvent"]
[target."cfg(target_os=\"linux\")".dependencies.cairo-rs]
version = "0.8.1"
features = ["xcb"]
default_features = false

[target."cfg(target_os=\"linux\")".dependencies.gdk]
version = "0.12.1"

[target."cfg(target_os=\"linux\")".dependencies.gdk-sys]
version = "0.9.1"

[target."cfg(target_os=\"linux\")".dependencies.gio]
version = "0.8.1"

[target."cfg(target_os=\"linux\")".dependencies.glib]
version = "0.9.3"

[target."cfg(target_os=\"linux\")".dependencies.glib-sys]
version = "0.9.1"

[target."cfg(target_os=\"linux\")".dependencies.gtk]
version = "0.8.1"
features = ["v3_20"]

[target."cfg(target_os=\"linux\")".dependencies.gtk-sys]
version = "0.9.2"
[target."cfg(target_os=\"macos\")".dependencies.bitflags]
version = "1.2.1"

[target."cfg(target_os=\"macos\")".dependencies.cocoa]
version = "0.20.1"

[target."cfg(target_os=\"macos\")".dependencies.core-graphics]
version = "0.19.0"

[target."cfg(target_os=\"macos\")".dependencies.foreign-types]
version = "0.3.2"

[target."cfg(target_os=\"macos\")".dependencies.objc]
version = "0.2.7"
[target."cfg(target_os=\"windows\")".dependencies.winapi]
version = "0.3.8"
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=\"windows\")".dependencies.wio]
version = "0.2.2"
