generated from GarandPLG/rust-flake-template
30f2e17ed7
Add ALSA and Rodio crates to Cargo.toml and lockfile to enable audio playback. Update Nix expressions to include `alsa-lib` as a build input. Refactor input event handling into a new `app::threads` module: - Define `AppEvent` enum and `handle_input_events` function there. - Adjust imports in `app/app.rs` and `main.rs` accordingly. Remove the now‑unused `handle_input_events` and `AppEvent` definitions from `app/app.rs`.
18 lines
285 B
TOML
18 lines
285 B
TOML
[package]
|
|
name = "war_in_tunnels"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = 3
|
|
strip = true
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.53", features = ["derive"] }
|
|
ratatui = "0.30.0"
|
|
log = "0.4.29"
|
|
simplelog = "0.12.2"
|
|
rodio = "0.22.2"
|