-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (44 loc) · 1.76 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
[package]
name = "licheszter"
version = "0.3.0"
authors = ["tontsa28 <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "An API wrapper for the Lichess API"
homepage = "https://github.com/tontsa28/licheszter"
repository = "https://github.com/tontsa28/licheszter"
documentation = "https://docs.rs/licheszter"
keywords = ["lichess", "bot", "api", "wrapper", "chess"]
categories = ["api-bindings", "asynchronous"]
readme = "README.md"
edition = "2021"
[lib]
name = "licheszter"
path = "src/lib.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = "1.42.0"
tokio-stream = { version = "0.1.17", default-features = false, features = ["io-util"] }
tokio-util = "0.7.13"
reqwest = { version = "0.12.9", default-features = false, features = ["stream", "rustls-tls"] }
time = "0.3.37"
serde = { version = "1.0.216", features = ["derive"] }
serde_json = "1.0.133"
serde_with = { version = "3.11.0", features = ["time_0_3"] }
futures-util = { version = "0.3.31", default-features = false }
comma_serde_urlencoded = "0.8.1"
[dev-dependencies]
tokio = { version = "1.42.0", features = ["macros"] }
[features]
default = ["bot"]
# Return an error when an unknown field is encountered while deserializing.
# This is not recommended for production environments as it might cause unexpected problems.
serde-strict = []
openings = []
tablebase = []
# Only bot is enabled by default to prevent accidental cheating with the Board API.
# Any kind of chess assistance is only allowed using the Bot API.
# This project and its developers are not responsible for any possible consequences that may occur from misusing the Board API.
bot = []
board = []
# Enable all features at once.
all = ["bot", "board", "openings", "tablebase"]