librashader/librashader-common/Cargo.toml

47 lines
1.1 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-02-20 08:19:05 +11:00
version = "0.2.2"
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"]
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-02-10 10:22:14 +11:00
metal = ["icrate"]
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-01-18 14:35:52 +11:00
wgpu-types = { version = "0.19.0", optional = true }
num-traits = "0.2.15"
rustc-hash = "1.1.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
2023-04-23 15:13:31 +10:00
version = "0.48.0"
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",
"Win32_Graphics_Direct3D11",
2023-01-24 18:02:27 +11:00
"Win32_Graphics_Direct3D12",
]
2024-02-10 10:22:14 +11:00
2024-02-10 16:04:16 +11:00
[target.'cfg(target_vendor="apple")'.dependencies.icrate]
2024-02-10 10:22:14 +11:00
optional = true
version = "0.1.0"
2024-02-13 19:03:45 +11:00
features = ["Metal", "Metal_all"]