2
0

Cargo.toml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [package]
  2. name = "victory-hle"
  3. description = "Our implementation of the Xbox system API surface the title imports."
  4. version.workspace = true
  5. edition.workspace = true
  6. rust-version.workspace = true
  7. license.workspace = true
  8. publish.workspace = true
  9. [dependencies]
  10. victory-gpu.workspace = true
  11. victory-loader.workspace = true
  12. victory-pe.workspace = true
  13. victory-formats.workspace = true
  14. opus-pure.workspace = true
  15. zlib-rs.workspace = true
  16. tracing.workspace = true
  17. [target.'cfg(windows)'.dependencies]
  18. windows-sys = { workspace = true, features = [
  19. "Win32_Foundation",
  20. "Win32_Globalization",
  21. "Win32_Media",
  22. "Win32_Security",
  23. "Win32_Storage_FileSystem",
  24. "Win32_System_Diagnostics_Debug",
  25. "Win32_System_LibraryLoader",
  26. "Win32_System_Memory",
  27. "Win32_System_Power",
  28. "Win32_System_ProcessStatus",
  29. "Win32_System_Threading",
  30. "Win32_UI_Input_KeyboardAndMouse",
  31. "Win32_UI_Input_XboxController",
  32. "Win32_UI_WindowsAndMessaging",
  33. ] }
  34. # Diagnostics only: recording our own audio (`modules::audio::capture`).
  35. windows = { workspace = true, optional = true, features = [
  36. "Win32_Media_Audio",
  37. "Win32_System_Com",
  38. "Win32_System_Com_StructuredStorage",
  39. "Win32_System_Threading",
  40. "Win32_System_Variant",
  41. ] }
  42. # `#[implement]` names it.
  43. windows-core = { workspace = true, optional = true }
  44. [dev-dependencies]
  45. tempfile.workspace = true
  46. [features]
  47. # Debugging switches (scripted keys and the like).
  48. diagnostics = ["victory-gpu/diagnostics", "victory-loader/diagnostics", "dep:windows", "dep:windows-core"]
  49. [lints]
  50. workspace = true