-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
118 lines (99 loc) · 2.62 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "umpire-workspace"
description = "Combat Quest of the Millennium"
version = "0.5.0-pre"
authors = ["Josh Hansen <[email protected]>"]
license = "GPL-3.0-only"
categories = ["games"]
edition = "2021"
include = [
"src/*",
"README.md",
"LICENSE",
"doc/roadmap.md",
"data/geonames_cities1000_2017-02-27_0201__pop-and-name.tsv.gz",
"data/us-census/1990/givenname_rel_freqs.csv",
"data/us-census/2010/surname_freqs.csv",
"images/1945_Baseball_Umpire.txt",
]
repository = "https://github.com/joshhansen/Umpire"
homepage = "https://github.com/joshhansen/Umpire"
[workspace]
members = ["common", "client", "server", "umpire/ai", "umpire/tui"]
default-members = ["client"]
[workspace.dependencies]
anyhow = "1.0"
async-trait = "0.1.68"
bincode = "1.2.1"
burn = { version = "0.13", default-features = false, features = ["autodiff", "dataset", "wgpu"] }
clap = "4.1.4"
crossterm = "0.25.0"
flate2 = "1.0.13"
futures = "0.3.27"
rand = "0.8.5"
serde = { version = "1.0.106", features = ["derive"] }
tarpc = { version = "0.34", features = ["full"] }
thiserror = "1.0.40"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "time"] }
uuid = { version = "1.3.0", features = ["v4", "serde"] }
[badges]
travis-ci = { repository = "joshhansen/Umpire" }
[dependencies]
common = { path = "./common" }
rand = { workspace = true }
tokio = { workspace = true }
umpire-ai = { path = "./umpire/ai" }
[dev-dependencies]
criterion = "0.3.1"
[[bench]]
name = "ai_train"
harness = false
path = "benches/ai_train.rs"
[[bench]]
name = "deref_vec"
harness = false
path = "benches/deref_vec.rs"
[[bench]]
name = "explore"
harness = false
path = "benches/explore.rs"
[[bench]]
name = "grid"
harness = false
path = "benches/grid.rs"
[[bench]]
name = "move_unit_by_id"
harness = false
path = "benches/move_unit_by_id.rs"
[[bench]]
name = "move_unit_by_id_in_direction"
harness = false
path = "benches/move_unit_by_id_in_direction.rs"
[[bench]]
name = "nearest_adjacent_unobserved"
harness = false
path = "benches/nearest_adjacent_unobserved.rs"
[[bench]]
name = "propose"
harness = false
path = "benches/propose.rs"
[[bench]]
name = "random_ai"
harness = false
path = "benches/random_ai.rs"
[[bench]]
name = "wrapping_lite"
harness = false
path = "benches/wrapping_lite.rs"
[profile.release-small]
inherits = "release"
opt-level = 'z' # Optimize for size.
lto = true # Link-time optimization is also dropping binary size by about 1100K
[profile.release-dbg]
inherits = "release"
debug = true
[workspace.lints.rust]
unsafe_code = "forbid"
[workspace.lints.clippy]
enum_variant_names = "allow"
large_types_passed_by_value = "warn"