[package] name = "drugwars-rust" version = "0.6.15" edition = "2021" authors = ["urrick hunt"] description = "Classic Drugwars game in Rust 🦀" license = "MIT" repository = "https://github.com/urrickhunt/drugwars-rust" keywords = ["game", "drugwars", "terminal"] [[bin]] name = "drugwars-rust" path = "src/drugwars.rs" [dependencies] rand = "0.8.*" chrono = "0.4.*" terminal_size = "0.1.*" [target.'cfg(windows)'.dependencies] winapi = { version = "0.3.*", features = ["consoleapi", "wincon", "winbase", "processenv", "fileapi", "handleapi", "winuser"] } [target.'cfg(unix)'.dependencies] nix = "0.25.*" [profile.release-lto] inherits = "release" lto = true