librashader/librashader-reflect/Cargo.toml

51 lines
1.6 KiB
TOML
Raw Normal View History

2022-10-23 02:36:41 -04:00
[package]
name = "librashader-reflect"
edition = "2021"
license = "MPL-2.0 OR GPL-3.0-only"
2024-09-08 11:23:08 -04:00
version = "0.4.1"
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]
glslang = "0.4"
bytemuck = "1.13.0"
2022-10-23 02:36:41 -04:00
thiserror = "1.0.37"
2024-02-08 18:08:23 -05:00
bitflags = "2.4.2"
2024-09-08 11:23:08 -04:00
librashader-common = { path = "../librashader-common", version = "0.4.1" }
librashader-preprocess = { path = "../librashader-preprocess", version = "0.4.1" }
librashader-presets = { path = "../librashader-presets", version = "0.4.1" }
2024-09-04 20:49:20 -04:00
spirv-cross2 = { workspace = true, optional = true }
2022-11-21 16:21:50 -05:00
naga = { version = "22", optional = true }
rspirv = { version = "0.12.0", optional = true }
spirv = { version = "0.3.0", optional = true}
serde = { version = "1.0", features = ["derive"], optional = true }
2023-11-29 02:06:20 -05:00
2023-12-12 19:02:49 -05:00
indexmap = { version = "2.1.0", features = [] }
matches = { version = "0.1.10", features = [] }
2024-06-21 20:55:21 -04:00
rustc-hash = "2.0.0"
2024-02-06 18:42:32 -05:00
2023-11-29 02:06:20 -05:00
[target.'cfg(windows)'.dependencies.spirv-to-dxil]
version = "0.4.7"
2023-11-29 02:06:20 -05:00
optional = true
2022-11-21 16:21:50 -05:00
[features]
2024-02-11 15:39:11 -05:00
default = ["cross", "naga", "serialize", "wgsl", "msl"]
2024-09-04 20:49:20 -04:00
dxil = ["spirv-cross2/hlsl", "dep:spirv-to-dxil"]
wgsl = ["cross", "naga/wgsl-out", "dep:spirv", "dep:rspirv"]
cross = [ "dep:spirv-cross2", "spirv-cross2/glsl", "spirv-cross2/hlsl", "spirv-cross2/msl" ]
naga = [ "dep:rspirv", "dep:spirv", "naga/spv-in", "naga/spv-out", "naga/wgsl-out", "naga/msl-out" ]
serialize = [ "dep:serde" ]
msl = [ "spirv-cross2/msl", "naga/msl-out" ]
2024-08-09 00:55:58 -04:00
2024-08-21 00:38:32 -04:00
unstable-naga-in = ["naga/glsl-in"]