pax-gpu 0.39.1

WGPU rendering library for the pax framework
Documentation
# 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 = "pax-gpu"
version = "0.39.1"
authors = ["Samuel Selleck <sellecksamuel@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WGPU rendering library for the pax framework"
homepage = "https://pax.dev/"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://www.github.com/paxproject/pax"

[features]
default = []
shaders = [
    "dep:naga",
    "pax-runtime-api/shaders",
]

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

[dependencies.anyhow]
version = "1.0"

[dependencies.bytemuck]
version = "1.14"
features = ["derive"]

[dependencies.js-sys]
version = "0.3.64"

[dependencies.log]
version = "0.4.20"

[dependencies.lyon]
version = "1.0.1"

[dependencies.naga]
version = "28.0.0"
features = ["wgsl-in"]
optional = true

[dependencies.pax-runtime-api]
version = "0.39.1"

[dependencies.wasm-bindgen-futures]
version = "0.4.38"

[dependencies.web-sys]
version = "0.3.64"
features = [
    "HtmlCanvasElement",
    "Event",
    "EventInit",
]

[dependencies.winit]
version = "0.27.5"

[dev-dependencies.naga]
version = "28.0.0"
features = ["wgsl-in"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgpu]
version = "28.0.0"
features = [
    "std",
    "parking_lot",
    "dx12",
    "metal",
    "gles",
    "vulkan",
    "wgsl",
]
default-features = false

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

[target.'cfg(target_os = "macos")'.dev-dependencies.objc2]
version = "0.6.4"

[target.'cfg(target_os = "macos")'.dev-dependencies.pollster]
version = "0.4.0"