# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "timecat"
version = "1.17.2"
authors = ["Gourab Ghosh"]
include = [
    "src/",
    "!src/**/*.bak",
    "build.rs",
    "Cargo.toml",
    "LICENSE",
    "README.md",
    "documentation/**/*.md",
]
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."
homepage = "https://github.com/Gourab-Ghosh/timecat-rs/"
documentation = "https://docs.rs/timecat"
readme = "README.md"
keywords = [
    "chess-engine",
    "chess",
    "uci",
    "nnue",
    "ai",
]
license-file = "LICENSE"
repository = "https://github.com/Gourab-Ghosh/timecat-rs/"

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

[profile.dev]
opt-level = 2

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
debug-assertions = false
rpath = false
panic = "abort"
overflow-checks = false

[dependencies.arrayvec]
version = "0"

[dependencies.binread]
version = "2"
features = ["const_generics"]
optional = true

[dependencies.colored]
version = "2"
optional = true

[dependencies.itertools]
version = "0"

[dependencies.lazy_static]
version = "1"

[dependencies.paste]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[build-dependencies.reqwest]
version = "0"
features = ["blocking"]
optional = true

[build-dependencies.sha256]
version = "1"
optional = true

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