librashader/librashader-reflect/Cargo.toml

37 lines
1.2 KiB
TOML
Raw Normal View History

2022-10-23 17:36:41 +11:00
[package]
name = "librashader-reflect"
edition = "2021"
license = "MPL-2.0 OR GPL-3.0-only"
2023-02-07 11:23:06 +11:00
version = "0.1.0-beta.13"
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 17:36:41 +11:00
[dependencies]
2023-01-21 15:43:45 +11:00
shaderc = { version = "0.8.2", features = [] }
spirv_cross = { package = "librashader-spirv-cross", version = "0.23", features = [ "glsl", "hlsl" ] }
2022-10-23 17:36:41 +11:00
thiserror = "1.0.37"
bitflags = "1.3.2"
rustc-hash = "1.1.0"
2023-02-07 11:23:06 +11:00
librashader-common = { path = "../librashader-common", version = "0.1.0-beta.13" }
librashader-preprocess = { path = "../librashader-preprocess", version = "0.1.0-beta.13" }
librashader-presets = { path = "../librashader-presets", version = "0.1.0-beta.13" }
2023-02-07 11:22:53 +11:00
spirv-to-dxil = { version = "0.3", optional = true }
2022-11-22 08:21:50 +11:00
naga = { version = "0.10.0", features = ["glsl-in", "spv-in", "spv-out", "glsl-out", "wgsl-out"], optional = true }
bytemuck = "1.13.0"
rspirv = { version = "0.11.0+1.5.4", optional = true }
2022-11-22 08:21:50 +11:00
[features]
2023-02-06 17:25:06 +11:00
default = ["dxil"]
unstable-naga = [ "naga", "rspirv" ]
2022-12-02 09:11:42 +11:00
standalone = ["shaderc/build-from-source"]
2023-02-05 09:53:51 +11:00
dxil = ["spirv-to-dxil"]