-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
46 lines (40 loc) · 1.17 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
[package]
name = "schnecken_bot"
version = "0.4.2"
authors = ["Nicolas Woltmann"]
description = "Lichess bot with integrated engine"
repository = "https://github.com/nobriot/schnecken_bot"
edition = "2021"
license = "MIT"
keywords = ["bot", "chess", "lichess", "lichess-api", "lichess-bot"]
default-run = "schnecken_bot"
resolver = "2"
[workspace]
members = ["src/lichess", "src/chess"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = { version = "1.41.1", features = ["rt-multi-thread"] }
reqwest = { version = "0.12.12", features = ["blocking", "stream"] }
serde = { version = "1.0.217", features = ["derive"] }
log = { version = "0.4.22", features = ["std", "serde"] }
env_logger = "0.11.6"
serde_json = "1.0.135"
urlencoding = "2"
rand = "0.8"
futures-util = "0.3.31"
lazy_static = "1.5"
anyhow = "1.0.95"
# Our own libraries
lichess = { path = "src/lichess" }
chess = { path = "src/chess" }
[profile.dev]
opt-level = 3
# Used https://nnethercote.github.io/perf-book/title-page.html
[profile.release]
opt-level = 3
codegen-units = 1
lto = "fat"
panic = "abort"
[[bin]]
name = "schnecken_bot"
path = "src/main.rs"