# 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 = "2024"
name = "haitaka"
version = "0.1.0"
authors = ["tofutofu <tofutofu@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust Shogi move generation library"
homepage = "https://github.com/tofutofu/haitaka"
readme = "README.md"
keywords = [
    "shogi",
    "no_std",
]
categories = [
    "games",
    "no-std",
]
license = "MIT"
repository = "https://github.com/tofutofu/haitaka"

[features]
std = []

[lib]
name = "haitaka"
path = "src/lib.rs"

[[example]]
name = "perft"
path = "examples/perft.rs"

[[bench]]
name = "legals"
path = "benches/legals.rs"
harness = false

[[bench]]
name = "perft"
path = "benches/perft.rs"
harness = false

[[bench]]
name = "slider_moves"
path = "benches/slider_moves.rs"
harness = false

[dependencies]

[dev-dependencies.criterion]
version = "0.3.5"
features = ["html_reports"]

[profile.bench]
opt-level = 3
lto = "fat"
codegen-units = 1

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
