2026-11-23 01:15:26 +01:00
|
|
|
[package]
|
|
|
|
|
name = "victory-shader"
|
|
|
|
|
description = "Xbox shader containers (DXBC/DXIL + precompiled GFX10) to host shaders."
|
|
|
|
|
version.workspace = true
|
|
|
|
|
edition.workspace = true
|
|
|
|
|
rust-version.workspace = true
|
|
|
|
|
license.workspace = true
|
|
|
|
|
publish.workspace = true
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
|
thiserror.workspace = true
|
2026-11-24 19:00:31 -05:00
|
|
|
zlib-rs.workspace = true
|
2026-11-23 01:15:26 +01:00
|
|
|
|
2026-11-23 23:10:01 +01:00
|
|
|
[features]
|
|
|
|
|
# Host D3D12 pipeline checks (`emit::host`).
|
|
|
|
|
host = ["dep:windows"]
|
|
|
|
|
# Debugging switches (emitted-module dumps and the like).
|
|
|
|
|
diagnostics = []
|
|
|
|
|
|
2026-11-24 13:36:46 +08:00
|
|
|
[[bench]]
|
|
|
|
|
name = "guard_runs"
|
|
|
|
|
harness = false
|
|
|
|
|
|
2026-11-23 23:10:01 +01:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
|
|
|
windows-sys = { workspace = true, features = ["Win32_System_LibraryLoader"] }
|
|
|
|
|
windows = { workspace = true, optional = true, features = [
|
|
|
|
|
"Win32_Foundation",
|
|
|
|
|
"Win32_Graphics_Direct3D",
|
|
|
|
|
"Win32_Graphics_Direct3D12",
|
|
|
|
|
"Win32_Graphics_Dxgi",
|
|
|
|
|
"Win32_Graphics_Dxgi_Common",
|
|
|
|
|
] }
|
|
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dev-dependencies]
|
|
|
|
|
windows = { workspace = true, features = [
|
|
|
|
|
"Win32_Foundation",
|
|
|
|
|
"Win32_Graphics_Direct3D",
|
|
|
|
|
"Win32_Graphics_Direct3D12",
|
|
|
|
|
"Win32_Graphics_Dxgi",
|
|
|
|
|
"Win32_Graphics_Dxgi_Common",
|
|
|
|
|
] }
|
|
|
|
|
|
2026-11-23 01:15:26 +01:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|