Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. [workspace]
  2. resolver = "3"
  3. members = ["crates/*", "apps/*", "xtask"]
  4. # Fixtures are standalone crates built on demand by integration tests.
  5. exclude = ["tests/fixtures"]
  6. [workspace.package]
  7. version = "0.1.0"
  8. edition = "2024"
  9. rust-version = "1.88"
  10. license = "GPL-3.0-or-later"
  11. publish = false
  12. [workspace.dependencies]
  13. # Internal crates
  14. victory-core = { path = "crates/victory-core" }
  15. victory-pe = { path = "crates/victory-pe" }
  16. victory-loader = { path = "crates/victory-loader" }
  17. victory-hle = { path = "crates/victory-hle" }
  18. victory-gpu = { path = "crates/victory-gpu" }
  19. victory-shader = { path = "crates/victory-shader" }
  20. victory-formats = { path = "crates/victory-formats" }
  21. victory-pipeline = { path = "crates/victory-pipeline" }
  22. victory-game = { path = "crates/victory-game" }
  23. # External crates
  24. anyhow = "1.0.104"
  25. thiserror = "2.0.21"
  26. clap = { version = "4.6.9", features = ["derive"] }
  27. tracing = "0.1.44"
  28. tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
  29. serde = { version = "1.0.229", features = ["derive"] }
  30. toml = "1.2.2"
  31. object = { version = "0.41.0", default-features = false, features = ["read_core", "pe", "coff", "archive", "std"] }
  32. windows-sys = "0.61.2"
  33. blake3 = "1.8.7"
  34. memchr = "2.8.3"
  35. miniz_oxide = "0.9.1"
  36. walkdir = "2.5.1"
  37. tempfile = "3.27.0"
  38. [workspace.lints.rust]
  39. unsafe_op_in_unsafe_fn = "deny"
  40. unused_must_use = "deny"
  41. [workspace.lints.clippy]
  42. all = { level = "warn", priority = -1 }
  43. undocumented_unsafe_blocks = "warn"
  44. [profile.dev.package."*"]
  45. # Dependencies (hashing, parsing) are hot paths when chewing through
  46. # gigabytes of game data; keep them fast even in debug builds.
  47. opt-level = 2
  48. [profile.release]
  49. debug = "line-tables-only"