cranpose-render-wgpu 0.1.13

WGPU renderer backend for Cranpose
Documentation
[package]
name = "cranpose-render-wgpu"
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
keywords.workspace = true
categories.workspace = true
readme = "README.md"
description = "WGPU renderer backend for Cranpose"

[dependencies]
cranpose-render-common = { workspace = true }
cranpose-ui-graphics = { workspace = true }
cranpose-foundation = { workspace = true }
cranpose-ui = { workspace = true }
cranpose-core = { workspace = true }
bytemuck = { version = "1.25", features = ["derive"] }
log = "0.4"
naga = { version = "29.0.3", features = ["glsl-out", "wgsl-in"] }
web-time = { workspace = true }

[target.'cfg(all(target_os = "linux", not(target_arch = "wasm32")))'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
] }

[target.'cfg(target_os = "windows")'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "parking_lot",
    "dx12",
    "wgsl",
] }

[target.'cfg(target_os = "macos")'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "parking_lot",
    "metal",
    "wgsl",
] }

[target.'cfg(all(not(target_arch = "wasm32"), not(target_os = "android"), not(target_os = "linux"), not(target_os = "windows"), not(target_os = "macos")))'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
] }

[target.'cfg(target_os = "android")'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "parking_lot",
    "gles",
    "vulkan",
    "wgsl",
] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "29.0", default-features = false, features = [
    "std",
    "webgpu",
    "webgl",
    "wgsl",
] }

[dev-dependencies]
cranpose-app-shell = { workspace = true }
pollster = "0.4.0"