2022-10-22 12:04:00 +11:00
|
|
|
[package]
|
2022-11-22 08:13:37 +11:00
|
|
|
name = "librashader-common"
|
2022-10-22 12:04:00 +11:00
|
|
|
edition = "2021"
|
|
|
|
|
2022-12-01 18:07:21 +11:00
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
2024-07-29 14:44:51 +10:00
|
|
|
version = "0.2.8"
|
2022-12-01 18:07:21 +11:00
|
|
|
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."
|
2022-10-22 12:04:00 +11:00
|
|
|
|
2022-11-14 16:14:05 +11:00
|
|
|
[features]
|
2022-11-22 08:53:36 +11:00
|
|
|
default = []
|
2022-11-14 16:14:05 +11:00
|
|
|
opengl = ["gl"]
|
2024-03-03 17:07:07 +11:00
|
|
|
d3d9 = ["windows"]
|
2022-12-01 11:10:04 +11:00
|
|
|
d3d11 = ["windows", "dxgi"]
|
2023-01-24 18:02:27 +11:00
|
|
|
d3d12 = ["windows", "dxgi"]
|
2022-12-01 11:10:04 +11:00
|
|
|
dxgi = ["windows"]
|
2022-12-06 13:01:15 +11:00
|
|
|
vulkan = ["ash"]
|
2023-11-30 17:49:22 +11:00
|
|
|
wgpu = ["wgpu-types"]
|
2024-06-22 10:50:35 +10:00
|
|
|
metal = ["objc2-metal"]
|
2022-11-14 16:14:05 +11:00
|
|
|
|
2022-10-22 12:04:00 +11:00
|
|
|
[dependencies]
|
2022-11-17 16:08:11 +11:00
|
|
|
gl = { version = "0.14.0", optional = true }
|
2023-11-30 17:56:12 +11:00
|
|
|
ash = { version = "0.37", optional = true }
|
2024-05-01 07:21:48 +10:00
|
|
|
wgpu-types = { version = "0.20.0", optional = true }
|
2022-11-24 17:37:16 +11:00
|
|
|
num-traits = "0.2.15"
|
2024-06-22 10:55:21 +10:00
|
|
|
rustc-hash = "2.0.0"
|
2024-02-15 09:54:49 +11:00
|
|
|
halfbrown = "0.2.4"
|
2022-11-27 07:55:14 +11:00
|
|
|
|
2023-01-21 17:54:06 +11:00
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
2022-11-27 07:55:14 +11:00
|
|
|
optional = true
|
2024-02-27 10:49:59 +11:00
|
|
|
workspace = true
|
2022-11-27 07:55:14 +11:00
|
|
|
features = [
|
2022-12-06 13:01:15 +11:00
|
|
|
"Win32_Foundation",
|
|
|
|
"Win32_Graphics_Dxgi_Common",
|
|
|
|
"Win32_Graphics_Direct3D",
|
2024-03-03 17:07:07 +11:00
|
|
|
"Win32_Graphics_Direct3D9",
|
2022-12-06 13:01:15 +11:00
|
|
|
"Win32_Graphics_Direct3D11",
|
2023-01-24 18:02:27 +11:00
|
|
|
"Win32_Graphics_Direct3D12",
|
2022-12-01 18:07:21 +11:00
|
|
|
]
|
2024-02-10 10:22:14 +11:00
|
|
|
|
2024-06-22 10:50:35 +10:00
|
|
|
[target.'cfg(target_vendor="apple")'.dependencies.objc2-metal]
|
2024-02-10 10:22:14 +11:00
|
|
|
optional = true
|
2024-06-22 10:50:35 +10:00
|
|
|
version = "0.2.0"
|
|
|
|
features = ["MTLPixelFormat", "MTLRenderCommandEncoder", "MTLSampler"]
|