[package]
name = "timecat"
authors = ["Gourab Ghosh"]
version = "1.17.2"
edition = "2021"
homepage = "https://github.com/Gourab-Ghosh/timecat-rs/"
repository = "https://github.com/Gourab-Ghosh/timecat-rs/"
description = "A NNUE-based chess engine that implements the Negamax algorithm and can be integrated into any project as a library. It features move generation, advanced position evaluation through NNUE, and move searching capabilities."
documentation = "https://docs.rs/timecat"
license-file = "LICENSE"
# keywords = ["rust", "chess-engine", "chess", "uci", "alpha-beta-pruning", "negamax", "chess-ai", "uci-chess-engine", "nnue", "timecat", "timecat-rs"]
keywords = ["chess-engine", "chess", "uci", "nnue", "ai"]
readme = "README.md"
include = [
    "src/",
    "!src/**/*.bak",
    "build.rs",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "documentation/**/*.md",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[profile.dev]
opt-level = 2

[profile.release]
opt-level = 3
debug = false
rpath = false
debug-assertions = false
overflow-checks = false
codegen-units = 1
lto = true
panic = "abort"
# rustflags = ["-C", "target-cpu=native"]
# strip = true

[dependencies]
arrayvec = "0"
binread = { version = "2", features = ["const_generics"], optional = true}
colored = { version = "2", optional = true }
itertools = "0"
lazy_static = "1"
paste = "1"
serde = { version = "1", features = ["derive"], optional = true }

[build-dependencies]
reqwest = { version = "0", features = ["blocking"], optional = true }
sha256 = { version = "1", optional = true }

[features]
# default = []
# default = ["debug"]
default = ["binary", "colored_output", "speed"]
binary = ["inbuilt_nnue", "engine"]
nnue_reader = ["dep:binread"]
inbuilt_nnue = ["dep:reqwest", "dep:sha256", "nnue_reader"]
engine = ["inbuilt_nnue"]
colored_output = ["colored"]
speed = []
serde = ["dep:serde"]
experimental = []
debug = ["binary", "experimental", "colored_output", "speed"]

[package.metadata.docs.rs]
all-features = true
