Cargo.toml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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_Security_Cryptography",
  24. "Win32_Storage_FileSystem",
  25. "Win32_System_Diagnostics_Debug",
  26. "Win32_System_IO",
  27. "Win32_System_LibraryLoader",
  28. "Win32_System_Memory",
  29. "Win32_System_Power",
  30. "Win32_System_ProcessStatus",
  31. "Win32_System_Threading",
  32. "Win32_UI_Input_KeyboardAndMouse",
  33. "Win32_UI_Input_XboxController",
  34. "Win32_UI_WindowsAndMessaging",
  35. ] }
  36. # Diagnostics only: recording our own audio (`modules::audio::capture`).
  37. windows = { workspace = true, optional = true, features = [
  38. "Win32_Media_Audio",
  39. "Win32_System_Com",
  40. "Win32_System_Com_StructuredStorage",
  41. "Win32_System_Threading",
  42. "Win32_System_Variant",
  43. ] }
  44. # `#[implement]` names it.
  45. windows-core = { workspace = true, optional = true }
  46. [dev-dependencies]
  47. tempfile.workspace = true
  48. [features]
  49. # Debugging switches (scripted keys and the like).
  50. diagnostics = ["victory-gpu/diagnostics", "victory-loader/diagnostics", "dep:windows", "dep:windows-core"]
  51. [lints]
  52. workspace = true