2022-12-04 10:32:10 +11:00
|
|
|
[package]
|
|
|
|
name = "librashader-capi"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
license = "MPL-2.0 OR GPL-3.0-only"
|
2024-02-08 15:56:09 +11:00
|
|
|
version = "0.2.0-beta.7"
|
2022-12-04 10:32:10 +11: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."
|
|
|
|
|
|
|
|
[lib]
|
2022-12-06 09:30:48 +11:00
|
|
|
crate-type = [ "cdylib", "staticlib" ]
|
2022-12-04 10:32:10 +11:00
|
|
|
|
|
|
|
[features]
|
2023-02-16 17:09:43 +11:00
|
|
|
default = ["runtime-all" ]
|
2023-02-16 16:54:22 +11:00
|
|
|
runtime-all = ["runtime-opengl", "runtime-d3d11", "runtime-d3d12", "runtime-vulkan"]
|
2023-02-08 10:50:26 +11:00
|
|
|
runtime-opengl = ["gl", "librashader/runtime-gl"]
|
|
|
|
runtime-d3d11 = ["windows", "librashader/runtime-d3d11", "windows/Win32_Graphics_Direct3D11"]
|
|
|
|
runtime-d3d12 = ["windows", "librashader/runtime-d3d12", "windows/Win32_Graphics_Direct3D12"]
|
|
|
|
runtime-vulkan = ["ash", "librashader/runtime-vk"]
|
2022-12-04 10:32:10 +11:00
|
|
|
|
|
|
|
[dependencies]
|
2024-02-08 15:56:09 +11:00
|
|
|
librashader = { path = "../librashader", version = "0.2.0-beta.7", features = ["internal"] }
|
2022-12-04 10:32:10 +11:00
|
|
|
thiserror = "1.0.37"
|
|
|
|
paste = "1.0.9"
|
2022-12-05 14:37:03 +11:00
|
|
|
gl = { version = "0.14.0", optional = true }
|
2023-01-03 10:22:52 +11:00
|
|
|
rustc-hash = "1.1.0"
|
2023-11-30 17:56:12 +11:00
|
|
|
ash = { version = "0.37", optional = true }
|
2023-01-21 18:33:09 +11:00
|
|
|
spirv_cross = { package = "librashader-spirv-cross", version = "0.23" }
|
2022-12-04 10:32:10 +11:00
|
|
|
|
2023-01-21 17:54:06 +11:00
|
|
|
[target.'cfg(windows)'.dependencies.windows]
|
2023-04-23 15:13:31 +10:00
|
|
|
version = "0.48.0"
|
2022-12-05 14:48:57 +11:00
|
|
|
optional = true
|
|
|
|
|
2023-01-15 11:05:15 +11:00
|
|
|
[package.metadata.docs.rs]
|
2023-01-21 17:54:06 +11:00
|
|
|
targets = ["x86_64-pc-windows-msvc", "x86_64-unknown-linux-gnu"]
|
2023-02-16 17:11:55 +11:00
|
|
|
features = ["librashader/docsrs"]
|