# 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 = "2024"
rust-version = "1.85"
name = "damascene-winit-wgpu"
version = "0.4.2"
authors = ["Christian Balcom <robot.inventor@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Damascene — optional winit desktop host for the wgpu backend"
homepage = "https://github.com/computer-whisperer/damascene"
documentation = "https://docs.rs/damascene-winit-wgpu"
readme = "README.md"
keywords = [
    "ui",
    "gui",
    "winit",
    "wgpu",
    "desktop",
]
categories = ["gui"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/computer-whisperer/damascene"

[features]
default = [
    "default_fonts",
    "wayland-color-management",
]
default_fonts = ["damascene-core/default_fonts"]
emoji = ["damascene-core/emoji"]
inter = ["damascene-core/inter"]
jetbrains-mono = ["damascene-core/jetbrains-mono"]
profiling = [
    "damascene-core/profiling",
    "damascene-wgpu/profiling",
]
roboto = ["damascene-core/roboto"]
symbols = ["damascene-core/symbols"]
wayland-color-management = [
    "dep:wayland-backend",
    "dep:wayland-client",
    "dep:wayland-protocols",
    "dep:wayland-sys",
    "dep:dlib",
    "dep:raw-window-handle",
]

[lib]
name = "damascene_winit_wgpu"
path = "src/lib.rs"

[dependencies.damascene-core]
version = "0.4.2"
default-features = false

[dependencies.damascene-wgpu]
version = "0.4.2"

[dependencies.pollster]
version = "0.4"

[dependencies.wgpu]
version = "29"

[dependencies.winit]
version = "0.30"
features = ["android-native-activity"]

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.arboard]
version = "3"
features = ["wayland-data-control"]

[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies.open]
version = "5"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.22"

[target.'cfg(target_os = "linux")'.dependencies.dlib]
version = "0.5"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.raw-window-handle]
version = "0.6"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.wayland-backend]
version = "0.3"
features = ["client_system"]
optional = true

[target.'cfg(target_os = "linux")'.dependencies.wayland-client]
version = "0.31"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.wayland-protocols]
version = "0.32"
features = [
    "client",
    "staging",
]
optional = true

[target.'cfg(target_os = "linux")'.dependencies.wayland-sys]
version = "0.31"
features = ["client"]
optional = true
