Cargo.toml 1.6 KB

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