2023-11-30 17:49:22 +11:00
|
|
|
[package]
|
|
|
|
name = "librashader-runtime-wgpu"
|
|
|
|
edition = "2021"
|
|
|
|
|
2024-03-06 11:04:14 +11:00
|
|
|
version = "0.2.6"
|
2024-02-07 10:42:32 +11:00
|
|
|
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."
|
|
|
|
|
2023-11-30 17:49:22 +11:00
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-06 11:04:14 +11:00
|
|
|
librashader-common = { path = "../librashader-common", features = ["wgpu"], version = "0.2.6" }
|
|
|
|
librashader-presets = { path = "../librashader-presets", version = "0.2.6" }
|
|
|
|
librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.6" }
|
|
|
|
librashader-reflect = { path = "../librashader-reflect", version = "0.2.6", features = ["wgsl"], default-features = false }
|
|
|
|
librashader-runtime = { path = "../librashader-runtime" , version = "0.2.6" }
|
2023-11-30 17:49:22 +11:00
|
|
|
|
2024-02-14 17:11:15 +11:00
|
|
|
wgpu = { version = "0.19.0", default-features = false, features = ["wgsl"] }
|
2023-11-30 17:49:22 +11:00
|
|
|
image = "0.24.7"
|
|
|
|
thiserror = "1.0.50"
|
|
|
|
bytemuck = { version = "1.14.0", features = ["derive"] }
|
2023-12-16 22:28:41 +11:00
|
|
|
array-concat = "0.5.2"
|
2023-11-30 17:49:22 +11:00
|
|
|
|
2024-02-14 17:11:15 +11:00
|
|
|
[features]
|
|
|
|
# workaround for docsrs to not build metal-rs.
|
|
|
|
wgpu_dx12 = ["wgpu/dx12"]
|
|
|
|
wgpu_metal = ["wgpu/metal"]
|
|
|
|
wgpu_webgpu = ["wgpu/webgpu"]
|
|
|
|
|
2024-02-11 01:30:52 +11:00
|
|
|
[target.'cfg(not(target_arch="wasm32"))'.dependencies]
|
|
|
|
rayon = "1.8.1"
|
|
|
|
|
2023-11-30 17:49:22 +11:00
|
|
|
[dev-dependencies]
|
|
|
|
config = { version = "0.13.4", features = [] }
|
|
|
|
env_logger = "0.10.1"
|
2024-01-18 14:35:52 +11:00
|
|
|
raw-window-handle = "0.6.0"
|
|
|
|
winit = "0.29.10"
|
2023-11-30 17:49:22 +11:00
|
|
|
pollster = "0.3"
|
|
|
|
log = "0.4.20"
|