[package]
edition = "2024"
name = "littlewing"
version = "0.8.0"
authors = ["Vincent Ollivier <v@vinc.cc>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A chess engine rated at 2050+ ELO, compatible with both UCI and XBoard
protocols, with a nice CLI, and a documented library.
"""
homepage = "https://vinc.cc/software/littlewing"
readme = "README.md"
license = "MIT"
repository = "https://github.com/vinc/littlewing"
[badges.travis-ci]
repository = "vinc/littlewing"
[features]
bin = [
"atty",
"getopts",
]
default = [
"std",
"bin",
]
std = [
"dirs",
"regex",
"rustyline",
"rustyline-derive",
"no-std-compat/std",
]
[lib]
name = "littlewing"
path = "src/lib.rs"
[[bin]]
name = "littlewing"
path = "src/main.rs"
doc = false
[[test]]
name = "wac"
path = "tests/wac.rs"
[[bench]]
name = "littlewing"
path = "benches/littlewing.rs"
harness = false
[dependencies.atty]
version = "0.2.14"
optional = true
[dependencies.branches]
version = "0.4.4"
features = ["prefetch"]
default-features = false
[dependencies.dirs]
version = "6.0.0"
optional = true
[dependencies.getopts]
version = "0.2.21"
optional = true
[dependencies.lazy_static]
version = "1.4.0"
[dependencies.libm]
version = "0.2.16"
[dependencies.no-std-compat]
version = "0.4.1"
features = [
"alloc",
"compat_macros",
]
[dependencies.rand]
version = "0.9.2"
default-features = false
[dependencies.rand_xorshift]
version = "0.4.0"
default-features = false
[dependencies.regex]
version = "1.3.9"
optional = true
[dependencies.rustyline]
version = "15.0.0"
optional = true
[dependencies.rustyline-derive]
version = "0.11.1"
optional = true
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[profile.release]
lto = true
codegen-units = 1
panic = "abort"