librashader/librashader-runtime-wgpu/Cargo.toml
2024-08-03 00:13:40 -04:00

46 lines
1.6 KiB
TOML

[package]
name = "librashader-runtime-wgpu"
edition = "2021"
version = "0.3.0"
license = "MPL-2.0 OR GPL-3.0-only"
authors = ["Ronny Chan <ronny@ronnychan.ca>"]
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.3.0" }
librashader-presets = { path = "../librashader-presets", version = "0.3.0" }
librashader-preprocess = { path = "../librashader-preprocess", version = "0.3.0" }
librashader-reflect = { path = "../librashader-reflect", version = "0.3.0", features = ["wgsl"], default-features = false }
librashader-runtime = { path = "../librashader-runtime" , version = "0.3.0" }
librashader-cache = { path = "../librashader-cache", version = "0.3.0" }
wgpu = { version = "22.0", default-features = false, features = ["wgsl"] }
image = "0.25.1"
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"