# 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 are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "druid-shell" version = "0.8.3" authors = ["Raph Levien "] 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/linebender/druid" resolver = "1" [package.metadata.docs.rs] features = [ "raw-win-handle", "image", ] rustdoc-args = [ "--cfg", "docsrs", ] default-target = "x86_64-pc-windows-msvc" cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] [[example]] name = "shello" doc-scrape-examples = true [dependencies.anyhow] version = "1.0.69" [dependencies.cfg-if] version = "1.0.0" [dependencies.instant] version = "0.1.12" features = ["wasm-bindgen"] [dependencies.keyboard-types] version = "0.6.2" default-features = false [dependencies.once_cell] version = "1.17.1" [dependencies.piet-common] version = "0.6.2" [dependencies.raw-window-handle] version = "0.5.0" optional = true default-features = false [dependencies.time] version = "0.3.20" [dependencies.tracing] version = "0.1.37" [dev-dependencies.piet-common] version = "0.6.2" features = ["png"] [dev-dependencies.static_assertions] version = "1.1.0" [dev-dependencies.test-log] version = "0.2.11" features = ["trace"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] [dev-dependencies.unicode-segmentation] version = "1.10.1" [build-dependencies.bindgen] version = "0.61.0" optional = true [build-dependencies.pkg-config] version = "0.3.26" optional = true [features] bmp = ["piet-common/bmp"] dds = ["piet-common/dds"] default = ["gtk"] dxt = ["piet-common/dxt"] farbfeld = ["piet-common/farbfeld"] gif = ["piet-common/gif"] gtk = [ "gdk-sys", "glib-sys", "gtk-sys", "gtk-rs", ] hdr = ["piet-common/hdr"] ico = ["piet-common/ico"] image = ["piet-common/image"] image_png = ["piet-common/image_png"] jpeg = ["piet-common/jpeg"] jpeg_rayon = ["piet-common/jpeg_rayon"] pnm = ["piet-common/pnm"] raw-win-handle = ["raw-window-handle"] serde = ["piet-common/serde"] tga = ["piet-common/tga"] tiff = ["piet-common/tiff"] wayland = [ "wayland-client", "wayland-protocols/client", "wayland-protocols/unstable_protocols", "nix", "cairo-sys-rs", "rand", "calloop", "wayland-cursor", "log", "im", "bindgen", "pkg-config", ] webp = ["piet-common/webp"] x11 = [ "ashpd", "bindgen", "cairo-sys-rs", "futures", "nix", "pkg-config", "x11rb", ] [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.ashpd] version = "0.3.2" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.cairo-rs] version = "0.16.7" features = ["xcb"] default-features = false [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.cairo-sys-rs] version = "0.16.3" optional = true default-features = false [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.calloop] version = "0.7.2" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.futures] version = "0.3.26" features = ["executor"] optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.gdk-sys] version = "0.16.0" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.glib-sys] version = "0.16.3" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.gtk-rs] version = "0.16.2" optional = true package = "gtk" [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.gtk-sys] version = "0.16.0" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.im] version = "15.1.0" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.log] version = "0.4.17" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.nix] version = "0.24.3" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.rand] version = "0.8.5" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.wayland-client] version = "0.29.5" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.wayland-cursor] version = "0.29.5" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.wayland-protocols] version = "0.29.5" optional = true [target."cfg(any(target_os = \"freebsd\", target_os=\"linux\", target_os=\"openbsd\"))".dependencies.x11rb] version = "0.10.1" features = [ "allow-unsafe-code", "present", "render", "randr", "xfixes", "xkb", "resource_manager", "cursor", ] optional = true [target."cfg(target_arch=\"wasm32\")".dependencies.js-sys] version = "0.3.61" [target."cfg(target_arch=\"wasm32\")".dependencies.wasm-bindgen] version = "0.2.84" [target."cfg(target_arch=\"wasm32\")".dependencies.web-sys] version = "0.3.61" features = [ "Window", "MouseEvent", "CssStyleDeclaration", "WheelEvent", "KeyEvent", "KeyboardEvent", "Navigator", ] [target."cfg(target_os=\"macos\")".dependencies.bitflags] version = "1.3.2" [target."cfg(target_os=\"macos\")".dependencies.block] version = "0.1.6" [target."cfg(target_os=\"macos\")".dependencies.cocoa] version = "0.24.1" [target."cfg(target_os=\"macos\")".dependencies.core-graphics] version = "0.22.3" [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.scopeguard] version = "1.1.0" [target."cfg(target_os=\"windows\")".dependencies.winapi] version = "0.3.9" features = [ "d2d1_1", "dwrite", "winbase", "libloaderapi", "errhandlingapi", "winuser", "shellscalingapi", "shobjidl", "combaseapi", "synchapi", "dxgi1_3", "dcomp", "d3d11", "dwmapi", "wincon", "fileapi", "processenv", "winbase", "handleapi", "shellapi", "winnls", ] [target."cfg(target_os=\"windows\")".dependencies.wio] version = "0.2.2"