[package] name = "licheszter" version = "0.3.0" authors = ["tontsa28 "] 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.40.0" tokio-stream = { version = "0.1.16", default-features = false, features = ["io-util"] } tokio-util = "0.7.12" reqwest = { version = "0.12.7", default-features = false, features = ["stream", "rustls-tls"] } time = "0.3.36" serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" serde_with = { version = "3.9.0", features = ["time_0_3"] } futures-util = { version = "0.3.30", default-features = false } comma_serde_urlencoded = "0.8.1" [dev-dependencies] tokio = { version = "1.40.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"]