mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 01:15:42 -06:00
69 lines
2.2 KiB
TOML
69 lines
2.2 KiB
TOML
[package]
|
|
name = "pacman"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tracing = { version = "0.1.41", features = ["max_level_debug", "release_max_level_debug"]}
|
|
tracing-error = "0.2.0"
|
|
tracing-subscriber = {version = "0.3.17", features = ["env-filter"]}
|
|
lazy_static = "1.5.0"
|
|
sdl2 = { version = "0.38.0", features = ["image", "ttf"] }
|
|
spin_sleep = "1.3.2"
|
|
rand = { version = "0.9.2", default-features = false, features = ["small_rng", "os_rng"] }
|
|
pathfinding = "4.14"
|
|
once_cell = "1.21.3"
|
|
thiserror = "2.0.14"
|
|
anyhow = "1.0"
|
|
glam = "0.30.5"
|
|
serde = { version = "1.0.219", features = ["derive"] }
|
|
serde_json = "1.0.142"
|
|
smallvec = "1.15.1"
|
|
strum = "0.27.2"
|
|
strum_macros = "0.27.2"
|
|
phf = { version = "0.12.1", features = ["macros"] }
|
|
bevy_ecs = "0.16.1"
|
|
bitflags = "2.9.1"
|
|
parking_lot = "0.12.3"
|
|
|
|
[profile.release]
|
|
lto = true
|
|
panic = "abort"
|
|
opt-level = "z"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.winapi]
|
|
version = "0.3"
|
|
features = ["consoleapi", "fileapi", "handleapi", "processenv", "winbase", "wincon", "winnt", "winuser", "windef", "minwindef"]
|
|
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies.sdl2]
|
|
version = "0.38"
|
|
default-features = false
|
|
features = ["ttf","image","gfx","mixer"]
|
|
|
|
[target.'cfg(not(target_os = "emscripten"))'.dependencies.sdl2]
|
|
version = "0.38"
|
|
default-features = false
|
|
features = ["ttf","image","gfx","mixer","static-link","use-vcpkg"]
|
|
|
|
[package.metadata.vcpkg]
|
|
dependencies = ["sdl2", "sdl2-image", "sdl2-ttf", "sdl2-gfx", "sdl2-mixer"]
|
|
git = "https://github.com/microsoft/vcpkg"
|
|
rev = "2024.05.24" # release 2024.05.24 # to check for a new one, check https://github.com/microsoft/vcpkg/releases
|
|
|
|
[package.metadata.vcpkg.target]
|
|
x86_64-pc-windows-msvc = { triplet = "x64-windows-static-md" }
|
|
x86_64-unknown-linux-gnu = { triplet = "x64-linux" }
|
|
x86_64-apple-darwin = { triplet = "x64-osx" }
|
|
aarch64-apple-darwin = { triplet = "arm64-osx" }
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
libc = "0.2.175"
|
|
|
|
[build-dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
phf = { version = "0.12.1", features = ["macros"] }
|