[package] name = "librashader-runtime-wgpu" edition = "2021" version = "0.2.7" license = "MPL-2.0 OR GPL-3.0-only" authors = ["Ronny Chan "] repository = "https://github.com/SnowflakePowered/librashader" readme = "../README.md" categories = ["emulators", "compilers", "graphics"] keywords = ["shader", "retroarch", "SPIR-V"] description = "RetroArch shaders for all." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] librashader-common = { path = "../librashader-common", features = ["wgpu"], version = "0.2.7" } librashader-presets = { path = "../librashader-presets", version = "0.2.7" } librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.7" } librashader-reflect = { path = "../librashader-reflect", version = "0.2.7", features = ["wgsl"], default-features = false } librashader-runtime = { path = "../librashader-runtime" , version = "0.2.7" } wgpu = { version = "0.20.0", default-features = false, features = ["wgsl"] } image = "0.24.7" thiserror = "1.0.50" bytemuck = { version = "1.14.0", features = ["derive"] } array-concat = "0.5.2" [features] # workaround for docsrs to not build metal-rs. wgpu_dx12 = ["wgpu/dx12"] wgpu_metal = ["wgpu/metal"] wgpu_webgpu = ["wgpu/webgpu"] [target.'cfg(not(target_arch="wasm32"))'.dependencies] rayon = "1.8.1" [dev-dependencies] config = { version = "0.13.4", features = [] } env_logger = "0.10.1" raw-window-handle = "0.6.0" winit = "0.29.10" pollster = "0.3" log = "0.4.20"