librashader 0.11.2

RetroArch shaders for all.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "librashader"
version = "0.11.2"
authors = ["Ronny Chan <ronny@ronnychan.ca>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "RetroArch shaders for all."
readme = "README.md"
keywords = [
    "shader",
    "retroarch",
    "SPIR-V",
]
categories = [
    "emulators",
    "compilers",
    "graphics",
]
license = "MPL-2.0 OR GPL-3.0-only"
repository = "https://github.com/SnowflakePowered/librashader"

[package.metadata.docs.rs]
targets = [
    "x86_64-pc-windows-msvc",
    "x86_64-unknown-linux-gnu",
    "x86_64-apple-darwin",
    "aarch64-apple-darwin",
    "aarch64-apple-ios",
    "i686-pc-windows-msvc",
    "i686-unknown-linux-gnu",
]
features = ["docsrs"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = ["full"]
docsrs = ["librashader-cache/docsrs"]
full = [
    "runtime-all",
    "reflect-all",
    "preprocess",
    "presets",
]
github-ci = []
internal = []
nightly = [
    "librashader-reflect/nightly",
    "librashader-runtime-d3d9?/nightly",
    "librashader-runtime-d3d11?/nightly",
    "librashader-runtime-d3d12?/nightly",
    "librashader-runtime-gl?/nightly",
    "librashader-runtime-vk?/nightly",
    "librashader-runtime-mtl?/nightly",
    "librashader-runtime-wgpu?/nightly",
]
preprocess = []
presets = []
reflect = []
reflect-all = [
    "reflect-cross",
    "reflect-dxil",
    "reflect-naga",
]
reflect-cross = [
    "reflect",
    "librashader-reflect/cross",
]
reflect-dxil = [
    "reflect",
    "librashader-reflect/dxil",
]
reflect-naga = [
    "reflect",
    "librashader-reflect/naga",
    "librashader-reflect/naga-in",
]
runtime = []
runtime-all = [
    "runtime-gl",
    "runtime-d3d11",
    "runtime-d3d12",
    "runtime-vk",
    "runtime-wgpu",
    "runtime-metal",
]
runtime-d3d11 = [
    "runtime",
    "reflect-cross",
    "librashader-common/d3d11",
    "librashader-runtime-d3d11",
    "windows/Win32_Graphics_Direct3D11",
]
runtime-d3d12 = [
    "runtime",
    "reflect-cross",
    "reflect-dxil",
    "librashader-common/d3d12",
    "librashader-runtime-d3d12",
    "windows/Win32_Graphics_Direct3D12",
]
runtime-d3d12-static = ["librashader-runtime-d3d12?/static"]
runtime-d3d9 = [
    "runtime",
    "reflect-cross",
    "librashader-common/d3d9",
    "librashader-runtime-d3d9",
    "windows/Win32_Graphics_Direct3D9",
]
runtime-gl = [
    "runtime",
    "reflect-cross",
    "librashader-common/opengl",
    "librashader-runtime-gl",
]
runtime-metal = [
    "runtime",
    "reflect-naga",
    "reflect-cross",
    "librashader-common/metal",
    "librashader-runtime-mtl",
    "objc2-metal",
    "objc2",
]
runtime-vk = [
    "runtime",
    "reflect-cross",
    "librashader-common/vulkan",
    "librashader-runtime-vk",
    "ash",
]
runtime-wgpu = [
    "runtime",
    "reflect-naga",
    "librashader-common/wgpu",
    "librashader-runtime-wgpu",
    "wgpu",
    "wgpu-types",
]
serde = [
    "librashader-presets/serde",
    "librashader-preprocess/serde",
    "librashader-reflect/serde",
    "librashader-pack/serde",
]
stable = []

[lib]
name = "librashader"
path = "src/lib.rs"

[[test]]
name = "reflect"
path = "tests/reflect.rs"

[dependencies.ash]
version = "0.38"
optional = true

[dependencies.librashader-cache]
version = "0.11.2"

[dependencies.librashader-common]
version = "0.11.2"

[dependencies.librashader-pack]
version = "0.11.2"

[dependencies.librashader-preprocess]
version = "0.11.2"

[dependencies.librashader-presets]
version = "0.11.2"

[dependencies.librashader-reflect]
version = "0.11.2"

[dependencies.librashader-runtime]
version = "0.11.2"

[dependencies.librashader-runtime-d3d11]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-d3d12]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-d3d9]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-gl]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-mtl]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-vk]
version = "0.11.2"
optional = true

[dependencies.librashader-runtime-wgpu]
version = "0.11.2"
optional = true

[dependencies.wgpu]
version = "29.0.3"
optional = true
default-features = false

[dependencies.wgpu-types]
version = "29.0.3"
optional = true

[dev-dependencies.glob]
version = "0.3.1"

[dev-dependencies.once_cell]
version = "1.19.0"

[dev-dependencies.rayon]
version = "1.6.1"

[target.'cfg(target_vendor="apple")'.dependencies.objc2]
version = "0.6"
optional = true

[target.'cfg(target_vendor="apple")'.dependencies.objc2-metal]
version = "0.3"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.62"
optional = true