[package]
edition = "2024"
rust-version = "1.88"
name = "spacewalk"
version = "0.3.1"
authors = ["David Palmer"]
build = false
exclude = [
".github/",
"art/",
"RELEASING.md",
"deny.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A generic basis for square grids, hex grids, and arbitrary grids, with pathfinding"
readme = "README.md"
keywords = [
"grid",
"hex",
"pathfinding",
"tactics",
"gamedev",
]
categories = [
"game-development",
"data-structures",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dp88/spacewalk"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "spacewalk"
path = "src/lib.rs"
[[test]]
name = "admissible"
path = "tests/admissible.rs"
[[test]]
name = "checkers"
path = "tests/checkers.rs"
[[test]]
name = "chess3d"
path = "tests/chess3d.rs"
[[test]]
name = "determinism"
path = "tests/determinism.rs"
[[test]]
name = "directional"
path = "tests/directional.rs"
[[test]]
name = "fov"
path = "tests/fov.rs"
[[test]]
name = "graph"
path = "tests/graph.rs"
[[test]]
name = "height"
path = "tests/height.rs"
[[test]]
name = "hex_capture"
path = "tests/hex_capture.rs"
[[test]]
name = "hex_field"
path = "tests/hex_field.rs"
[[test]]
name = "highlight"
path = "tests/highlight.rs"
[[test]]
name = "identity"
path = "tests/identity.rs"
[[test]]
name = "range_cost"
path = "tests/range_cost.rs"
[[test]]
name = "robust"
path = "tests/robust.rs"
[[test]]
name = "save"
path = "tests/save.rs"
[[test]]
name = "screen"
path = "tests/screen.rs"
[[test]]
name = "search"
path = "tests/search.rs"
[[test]]
name = "square_tactics"
path = "tests/square_tactics.rs"
[[test]]
name = "threat"
path = "tests/threat.rs"
[dependencies.hashbrown]
version = "0.17"
features = ["default-hasher"]
default-features = false
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1"
[lints.rust]
missing_docs = "warn"