librashader/librashader-reflect/Cargo.toml

47 lines
1.5 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"
2024-02-10 10:30:07 +11:00
version = "0.2.0-beta.9"
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]
2024-02-09 10:08:23 +11:00
glslang = "0.3"
bytemuck = "1.13.0"
2022-10-23 17:36:41 +11:00
thiserror = "1.0.37"
2024-02-09 10:08:23 +11:00
bitflags = "2.4.2"
rustc-hash = "1.1.0"
2024-02-10 10:30:07 +11:00
librashader-common = { path = "../librashader-common", version = "0.2.0-beta.9" }
librashader-preprocess = { path = "../librashader-preprocess", version = "0.2.0-beta.9" }
librashader-presets = { path = "../librashader-presets", version = "0.2.0-beta.9" }
spirv_cross = { package = "librashader-spirv-cross", version = "0.23", optional = true }
2022-11-22 08:21:50 +11:00
2024-01-18 14:35:52 +11:00
naga = { version = "0.19.0", features = ["spv-in", "wgsl-out"], optional = true }
2024-02-09 18:07:02 +11:00
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 18:06:20 +11:00
2023-12-13 11:02:49 +11:00
indexmap = { version = "2.1.0", features = [] }
matches = { version = "0.1.10", features = [] }
2024-02-07 10:42:32 +11:00
2023-11-29 18:06:20 +11:00
[target.'cfg(windows)'.dependencies.spirv-to-dxil]
version = "0.4"
optional = true
2022-11-22 08:21:50 +11:00
[features]
2023-12-13 11:02:49 +11:00
default = ["cross", "wgsl", "serialize"]
dxil = ["cross", "spirv-to-dxil"]
2023-12-13 11:02:49 +11:00
wgsl = ["cross", "naga", "spirv", "rspirv"]
2023-02-08 12:05:12 +11:00
cross = [ "spirv_cross", "spirv_cross/glsl", "spirv_cross/hlsl" ]
2023-02-16 10:40:06 +11:00
serialize = [ "serde" ]
msl = [ "cross", "naga" ]