Cargo.toml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. windows = "0.62.2"
  34. blake3 = "1.8.7"
  35. memchr = "2.8.3"
  36. miniz_oxide = "0.9.1"
  37. walkdir = "2.5.1"
  38. tempfile = "3.27.0"
  39. [workspace.lints.rust]
  40. unsafe_op_in_unsafe_fn = "deny"
  41. unused_must_use = "deny"
  42. [workspace.lints.clippy]
  43. all = { level = "warn", priority = -1 }
  44. undocumented_unsafe_blocks = "warn"
  45. [profile.dev.package."*"]
  46. # Dependencies (hashing, parsing) are hot paths when chewing through
  47. # gigabytes of game data; keep them fast even in debug builds.
  48. opt-level = 2
  49. [profile.release]
  50. debug = "line-tables-only"