Cargo.toml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. windows-core = "0.62.2"
  35. blake3 = "1.8.7"
  36. memchr = "2.8.3"
  37. miniz_oxide = "0.9.1"
  38. walkdir = "2.5.1"
  39. tempfile = "3.27.0"
  40. # Opus decoding for the console's audio decoder (BSD-3-Clause, pure Rust).
  41. opus-pure = "0.2.4"
  42. [workspace.lints.rust]
  43. unsafe_op_in_unsafe_fn = "deny"
  44. unused_must_use = "deny"
  45. [workspace.lints.clippy]
  46. all = { level = "warn", priority = -1 }
  47. undocumented_unsafe_blocks = "warn"
  48. [profile.dev.package."*"]
  49. # Dependencies (hashing, parsing) are hot paths when chewing through
  50. # gigabytes of game data; keep them fast even in debug builds.
  51. opt-level = 2
  52. [profile.release]
  53. debug = "line-tables-only"
  54. # The development build: release code generation plus the `diagnostics`
  55. # feature (`cargo build --profile diag -p victory --features diagnostics`),
  56. # kept in its own folder so it does not evict the plain release build.
  57. [profile.diag]
  58. inherits = "release"