38 lines
902 B
TOML
38 lines
902 B
TOML
[package]
|
|
name = "librashader-common"
|
|
edition = "2021"
|
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
|
version = "0.2.0-beta.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."
|
|
|
|
[features]
|
|
default = []
|
|
opengl = ["gl"]
|
|
d3d11 = ["windows", "dxgi"]
|
|
d3d12 = ["windows", "dxgi"]
|
|
dxgi = ["windows"]
|
|
vulkan = ["ash"]
|
|
|
|
[dependencies]
|
|
gl = { version = "0.14.0", optional = true }
|
|
ash = { version = "0.37", optional = true }
|
|
|
|
num-traits = "0.2.15"
|
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
|
optional = true
|
|
version = "0.48.0"
|
|
features = [
|
|
"Win32_Foundation",
|
|
"Win32_Graphics_Dxgi_Common",
|
|
"Win32_Graphics_Direct3D",
|
|
"Win32_Graphics_Direct3D11",
|
|
"Win32_Graphics_Direct3D12",
|
|
]
|