-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
64 lines (56 loc) · 1.7 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
[package]
name = "viridithas"
version = "16.0.0"
edition = "2021"
description = "A superhuman chess engine."
license = "MIT"
readme = "README.md"
keywords = ["chess", "treesearch"]
categories = ["games"]
repository = "https://github.com/cosmobobak/viridithas"
authors = ["Cosmo Bobak ([email protected])"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
syzygy = ["dep:cc"]
bindgen = ["dep:bindgen"]
tuning = []
stats = []
nnz-counts = []
datagen = ["dep:serde", "dep:toml", "dep:rand", "dep:num_cpus", "dep:chrono", "dep:ctrlc", "dep:bulletformat"]
zstd = ["dep:zstd"]
final-release = ["zstd", "bindgen", "syzygy"]
[build-dependencies]
cc = { version = "1.0.90", optional = true }
bindgen = { version = "0.69.4", optional = true }
[dependencies]
# datagen dependencies
rand = { version = "0.8.5", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
toml = { version = "0.8.19", optional = true }
num_cpus = { version = "1.16.0", optional = true }
chrono = { version = "0.4.35", optional = true }
ctrlc = { version = "3.4.4", optional = true }
bulletformat = { version = "1.2.0", optional = true }
# general dependencies
clap = { version = "4.5.3", features = ["derive"] }
arrayvec = "0.7.4"
anyhow = "1.0.86"
ruzstd = "0.7.0"
# full-fat zstd for release builds
zstd = { version = "0.13.2", optional = true }
# for coloured terminal output
[dependencies.windows-sys]
version = "0.52"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_System_Threading",
"Win32_UI_WindowsAndMessaging",
"Win32_Storage",
"Win32_Storage_FileSystem",
]
[profile.release]
lto = true
panic = "abort"
strip = true
# debug = true