2022-10-23 02:36:41 -04:00
|
|
|
[package]
|
|
|
|
name = "librashader-reflect"
|
|
|
|
edition = "2021"
|
|
|
|
|
2022-12-01 02:07:21 -05:00
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
2023-11-30 02:11:33 -05:00
|
|
|
version = "0.2.0-beta.2"
|
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-23 02:36:41 -04:00
|
|
|
|
|
|
|
[dependencies]
|
2023-11-30 01:58:47 -05:00
|
|
|
shaderc = { version = "0.8.3", features = [] }
|
2023-02-07 18:50:26 -05:00
|
|
|
bytemuck = "1.13.0"
|
2022-11-21 16:13:37 -05:00
|
|
|
|
2022-10-23 02:36:41 -04:00
|
|
|
thiserror = "1.0.37"
|
2022-10-25 22:13:39 -04:00
|
|
|
bitflags = "1.3.2"
|
|
|
|
rustc-hash = "1.1.0"
|
2022-11-11 01:44:41 -05:00
|
|
|
|
2023-11-30 02:11:33 -05:00
|
|
|
librashader-common = { path = "../librashader-common", version = "0.2.0-beta.2" }
|
|
|
|
librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.0-beta.2" }
|
|
|
|
librashader-presets = { path = "../librashader-presets", version = "0.2.0-beta.2" }
|
2022-11-21 16:13:37 -05:00
|
|
|
|
2023-02-07 18:50:26 -05:00
|
|
|
spirv_cross = { package = "librashader-spirv-cross", version = "0.23", optional = true }
|
|
|
|
naga = { version = "0.11.0", features = ["glsl-in", "spv-in", "spv-out", "glsl-out", "wgsl-out"], optional = true }
|
2022-11-21 16:21:50 -05:00
|
|
|
|
2023-02-05 00:55:46 -05:00
|
|
|
rspirv = { version = "0.11.0+1.5.4", optional = true }
|
|
|
|
|
2023-02-12 22:36:50 -05:00
|
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
2023-11-29 02:06:20 -05:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.spirv-to-dxil]
|
|
|
|
version = "0.4"
|
|
|
|
optional = true
|
|
|
|
|
2022-11-21 16:21:50 -05:00
|
|
|
[features]
|
2023-02-12 22:36:50 -05:00
|
|
|
default = ["cross", "serialize"]
|
2023-02-05 00:55:46 -05:00
|
|
|
unstable-naga = [ "naga", "rspirv" ]
|
2024-02-02 23:46:18 -05:00
|
|
|
standalone = ["shaderc/prefer-static-linking"]
|
2023-02-08 03:21:28 -05:00
|
|
|
dxil = ["cross", "spirv-to-dxil"]
|
2023-02-07 20:05:12 -05:00
|
|
|
cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ]
|
2023-02-15 18:40:06 -05:00
|
|
|
serialize = [ "serde" ]
|