librashader/librashader-capi/Cargo.toml

49 lines
1.2 KiB
TOML
Raw Normal View History

2022-12-04 10:32:10 +11:00
[package]
name = "librashader-capi"
edition = "2021"
license = "MPL-2.0 OR GPL-3.0-only"
2022-12-04 13:26:02 +11:00
version = "0.1.0-alpha.2"
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."
2022-12-04 13:25:43 +11:00
publish = false
2022-12-04 10:32:10 +11:00
[lib]
crate-type = [ "cdylib", "staticlib", "lib" ]
[features]
2022-12-05 14:48:57 +11:00
default = ["runtime-opengl", "runtime-d3d11"]
2022-12-05 14:37:03 +11:00
runtime-opengl = ["gl", "librashader/gl"]
2022-12-05 14:48:57 +11:00
runtime-d3d11 = ["windows", "librashader/d3d11"]
2022-12-04 10:32:10 +11:00
[dependencies]
2022-12-05 14:37:03 +11:00
librashader = { path = "../librashader", version = "0.1.0-alpha.2" }
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 }
2022-12-04 10:32:10 +11:00
2022-12-05 14:48:57 +11:00
[dependencies.windows]
version = "0.43.0"
features = [
"Win32_Foundation",
"Win32_Graphics_Dxgi_Common",
"Win32_Graphics_Direct3D",
"Win32_Graphics_Direct3D11",
"Win32_Graphics_Direct3D_Fxc",
"Win32_Graphics_Gdi",
"Win32_Security",
"Win32_System_LibraryLoader",
"Win32_System_Threading",
"Win32_System_WindowsProgramming",
"Win32_UI_WindowsAndMessaging",
]
optional = true
2022-12-04 10:32:10 +11:00
[build-dependencies]
2022-12-04 13:26:02 +11:00
cbindgen = "0.24.3"