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