-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (40 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "tic-tac-toe"
version = "0.0.0"
edition = "2021"
rust-version = "1.67.1"
authors = ["Valentin Kovalenko <https://www.kovalenko.link>"]
description = "A multiplayer turn-based game."
readme = "readme.md"
license = "WTFPL"
repository = "https://github.com/stIncMale/tic-tac-toe"
keywords = ["tui"]
categories = ["games"]
[lib]
name = "tic_tac_toe_lib"
path = "src/lib.rs"
[[bin]]
name = "tic-tac-toe"
path = "src/main.rs"
[dependencies]
oorandom = "11.1"
clap = { version = "4.0", features = ["unicode", "wrap_help", "cargo", "deprecated"] }
cursive = { version = "0.20", default-features = false, features = ["crossterm-backend"]}
crossterm = "0.25"
cursive_buffered_backend = "0.6"
xxhash-rust = { version = "0.8", features = ["xxh3"] }
# see https://tomdebruijn.com/posts/rust-string-length-width-calculations/
unicode-width = { version = "0.1", features = ["no_std"] }
once_cell = "1.17"
human-panic = "= 1.1.0"
ctrlc = "= 3.2.4"
[dev-dependencies]
pretty_assertions_sorted = "1.2"
test-case = "2.2"
ntest = "0.9"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
# this is definitely OK for the interactive mode, and should be fine for the dedicated server mode
panic = "abort"