-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
60 lines (56 loc) · 1.21 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
[workspace]
members = [
"takzero",
"puzzle",
"evaluation",
"graph",
"analysis",
"selfplay",
"learn",
"reanalyze",
"tei",
"eee",
"visualize_search",
"visualize_replay_buffer",
]
resolver = "2"
[profile.release]
lto = true
codegen-units = 1
[profile.release-with-debug]
inherits = "release"
debug = true
[workspace.dependencies]
# core
fast-tak = "0.4.1"
takzero = { path = "takzero" }
tch = "0.18.1"
# rand
rand = "0.8.5"
rand_distr = "0.4.3"
rand_chacha = "0.3.1"
# CLI
clap = { version = "4.4.0", features = ["derive"] }
log = "0.4.20"
env_logger = "0.11.5"
# parallelism
crossbeam = "0.8.2"
rayon = "1.7.0"
# misc
arrayvec = "0.7.4"
thiserror = "2.0.9"
ordered-float = "4.2.2"
[workspace.lints.clippy]
pedantic = { level = "warn", priority = -1 }
style = { level = "warn", priority = -1 }
nursery = { level = "warn", priority = -1 }
# https://github.com/rust-lang/rust-clippy/issues/8538
iter_with_drain = "allow"
# this one is just annoying
module_name_repetitions = "allow"
# comment these out once in a while to check
cast_precision_loss = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
# assertions on constants are useful
assertions_on_constants = "allow"