# 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 = "rshogi"
version = "0.7.12"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust shogi library inspired by the Python cshogi API."
readme = "README.md"
keywords = ["shogi"]
categories = ["games"]
license = "MIT"
repository = "https://github.com/nyoki-mtl/rshogi"

[features]
default = []
generate-all-legal-moves = []
hash-128 = []

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

[[bin]]
name = "debug_mate1ply"
path = "src/bin/debug_mate1ply.rs"

[[bin]]
name = "dump_keys"
path = "src/bin/dump_keys.rs"

[[bin]]
name = "move_order_stats"
path = "src/bin/move_order_stats.rs"

[[bin]]
name = "movegen_child_stats"
path = "src/bin/movegen_child_stats.rs"

[[bin]]
name = "movegen_lists"
path = "src/bin/movegen_lists.rs"

[[bin]]
name = "movegen_stats"
path = "src/bin/movegen_stats.rs"

[[bin]]
name = "perft_bench"
path = "src/bin/perft_bench.rs"

[[bin]]
name = "position_audit"
path = "src/bin/position_audit.rs"

[[bin]]
name = "sbinpack_kif_roundtrip"
path = "src/bin/sbinpack_kif_roundtrip.rs"

[[test]]
name = "hash_primitives"
path = "tests/hash_primitives.rs"

[[test]]
name = "movegen_integration"
path = "tests/movegen_integration.rs"

[[test]]
name = "movegen_pinned_pieces"
path = "tests/movegen_pinned_pieces.rs"

[[test]]
name = "perft"
path = "tests/perft.rs"

[[test]]
name = "property_apply_move"
path = "tests/property_apply_move.rs"

[[test]]
name = "yaneu_compatibility"
path = "tests/yaneu_compatibility.rs"

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

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

[dependencies.arrayvec]
version = "0.7"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.log]
version = "0.4"

[dependencies.ordered-float]
version = "4.6"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.proptest]
version = "1.4"
features = ["std"]
default-features = false

[dev-dependencies.shogi_core]
version = "0.1.5"
