librashader/librashader-common/Cargo.toml

49 lines
1.2 KiB
TOML
Raw Normal View History

2022-10-22 12:04:00 +11:00
[package]
name = "librashader-common"
2022-10-22 12:04:00 +11:00
edition = "2021"
license = "MPL-2.0 OR GPL-3.0-only"
2024-07-29 14:44:51 +10:00
version = "0.2.8"
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"]
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 }
2024-08-01 15:23:18 +10:00
ash = { version = "0.38", optional = true }
wgpu-types = { version = "22", optional = true }
num-traits = "0.2.15"
2024-06-22 10:55:21 +10:00
rustc-hash = "2.0.0"
halfbrown = "0.2.4"
2022-11-27 07:55:14 +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",
]
2024-02-10 10:22:14 +11:00
[target.'cfg(target_vendor="apple")'.dependencies.objc2-metal]
2024-02-10 10:22:14 +11:00
optional = true
version = "0.2.0"
features = ["MTLPixelFormat", "MTLRenderCommandEncoder", "MTLSampler"]