[package]
name = "pleco_engine"
version = "0.0.12"
authors = ["Stephen Fleischman <stephenf@cs.washington.edu>"]
description = "A blazingly-fast Chess AI."
homepage = "https://github.com/sfleischman105/Pleco"
documentation = "https://docs.rs/pleco_engine/"
readme = "README.md"
keywords = ["chess","ai","engine","game","uci"]
license = "MIT"
categories = ["games","game-engines","command-line-utilities"]
repository = "https://github.com/sfleischman105/Pleco"


include = [
    "src/*",
    "tests/*.rs",
    "Cargo.toml",
    ".gitignore",
    "README.md"
]

[badges]
travis-ci = { repository = "sfleischman105/Pleco", branch = "master" }
coveralls = { repository = "sfleischman105/Pleco", branch = "master", service = "github" }

#[profile.dev]
#opt-level = 3
#debug = true

[profile.release]
opt-level = 3
debug = false
debug-assertions = false
panic = "unwind"
codegen-units = 1
lto = true

[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
panic = "unwind"

[profile.test]
opt-level = 3
debug = true
debug-assertions = true
codegen-units = 1
panic = "unwind"

[profile.doc]
opt-level = 0
debug = true
lto = false
debug-assertions = true
codegen-units = 4
panic = "unwind"

[lib]
name = "pleco_engine"
bench = true
path = "src/lib.rs"
doctest = true

[dependencies]
pleco = { path = "../pleco", version = "0.3.8" }
clippy = {version = "0.0.179", optional = true}
chrono = "0.4.0"
rand = "0.4.2"
rayon = "1.0.0"
num_cpus = "1.8.0"
crossbeam-utils = "0.2.2"

[dependencies.lazy_static]
version = "1.0.0"
features = ["nightly"]


[features]
default = []
dev = ["clippy"]

[[bin]]
name = "pleco"
path = "src/main.rs"
test = false
doc = false


#
#[[bench]]
#path = "benches/bench.rs"
#name = "integration_benches"