Cargo.toml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. [package]
  2. name = "project_cold_water"
  3. version = "0.1.0"
  4. edition = "2021"
  5. description = "Second Chechen War tactical skirmishing simulator with procedural raytraced acoustics, Dual Paraboloid reflections, Vogel PCF, volumetric clouds, and cloud shadows."
  6. [lib]
  7. name = "project_cold_water"
  8. path = "src/lib.rs"
  9. [features]
  10. default = ["client", "cold_water_assets"]
  11. cold_water_assets = []
  12. client = [
  13. "dep:wgpu",
  14. "dep:winit",
  15. "dep:egui",
  16. "dep:egui-wgpu",
  17. "dep:egui-winit",
  18. "dep:cpal",
  19. "dep:rtrb",
  20. "dep:pollster",
  21. "dep:crossbeam-channel",
  22. ]
  23. [[bin]]
  24. name = "project_cold_water"
  25. path = "src/main.rs"
  26. required-features = ["client"]
  27. [[bin]]
  28. name = "sculpt"
  29. path = "src/bin/sculpt.rs"
  30. required-features = ["client"]
  31. [[bin]]
  32. name = "cold_water_server"
  33. path = "src/bin/cold_water_server.rs"
  34. [[test]]
  35. name = "acoustics_and_sim"
  36. required-features = ["client"]
  37. [[test]]
  38. name = "gpu_shaders"
  39. required-features = ["client"]
  40. [dependencies]
  41. wgpu = { version = "24", optional = true }
  42. winit = { version = "0.30", optional = true }
  43. egui = { version = "0.31", optional = true }
  44. egui-wgpu = { version = "0.31", optional = true }
  45. egui-winit = { version = "0.31", optional = true }
  46. cpal = { version = "0.15", optional = true }
  47. glam = { version = "0.29", features = ["bytemuck", "serde"] }
  48. bytemuck = { version = "1", features = ["derive"] }
  49. rtrb = { version = "0.3", optional = true }
  50. crossbeam-channel = { version = "0.5", optional = true }
  51. pollster = { version = "0.4", optional = true }
  52. rand = "0.8"
  53. log = "0.4"
  54. env_logger = "0.11"
  55. png = "0.17"
  56. serde = { version = "1", features = ["derive"] }
  57. serde_json = "1"
  58. [profile.dev.package."*"]
  59. opt-level = 2