2
0

Cargo.toml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [package]
  2. name = "victory-shader"
  3. description = "Xbox shader containers (DXBC/DXIL + precompiled GFX10) to host shaders."
  4. version.workspace = true
  5. edition.workspace = true
  6. rust-version.workspace = true
  7. license.workspace = true
  8. publish.workspace = true
  9. [dependencies]
  10. thiserror.workspace = true
  11. zlib-rs.workspace = true
  12. [features]
  13. # Host D3D12 pipeline checks (`emit::host`).
  14. host = ["dep:windows"]
  15. # Debugging switches (emitted-module dumps and the like).
  16. diagnostics = []
  17. [target.'cfg(windows)'.dependencies]
  18. windows-sys = { workspace = true, features = ["Win32_System_LibraryLoader"] }
  19. windows = { workspace = true, optional = true, features = [
  20. "Win32_Foundation",
  21. "Win32_Graphics_Direct3D",
  22. "Win32_Graphics_Direct3D12",
  23. "Win32_Graphics_Dxgi",
  24. "Win32_Graphics_Dxgi_Common",
  25. ] }
  26. [target.'cfg(windows)'.dev-dependencies]
  27. windows = { workspace = true, features = [
  28. "Win32_Foundation",
  29. "Win32_Graphics_Direct3D",
  30. "Win32_Graphics_Direct3D12",
  31. "Win32_Graphics_Dxgi",
  32. "Win32_Graphics_Dxgi_Common",
  33. ] }
  34. [lints]
  35. workspace = true