mirror of
https://github.com/kristoferssolo/hexlab.git
synced 2025-10-21 19:40:34 +00:00
60 lines
1.4 KiB
TOML
60 lines
1.4 KiB
TOML
[package]
|
|
name = "hexlab"
|
|
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
|
|
version = "0.3.1"
|
|
edition = "2021"
|
|
description = "A hexagonal maze generation and manipulation library"
|
|
repository = "https://github.com/kristoferssolo/hexlab"
|
|
documentation = "https://docs.rs/hexlab"
|
|
homepage = "https://github.com/kristoferssolo/hexlab"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["maze", "hex", "hexagons", "generation", "game"]
|
|
categories = [
|
|
"algorithms",
|
|
"game-development",
|
|
"mathematics",
|
|
"data-structures",
|
|
]
|
|
exclude = ["/.github", "/.gitignore", "/tests", "*.png", "*.md"]
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
bevy = { version = "0.15", optional = true }
|
|
hexx = { version = "0.19" }
|
|
rand = "0.8"
|
|
serde = { version = "1.0", features = ["derive"], optional = true }
|
|
thiserror = "2.0"
|
|
|
|
[dev-dependencies]
|
|
claims = "0.8"
|
|
rstest = "0.23"
|
|
|
|
[features]
|
|
default = []
|
|
serde = ["dep:serde", "hexx/serde"]
|
|
bevy = ["bevy_reflect"]
|
|
bevy_reflect = ["dep:bevy", "hexx/bevy_reflect"]
|
|
full = ["serde", "bevy"]
|
|
|
|
[profile.dev]
|
|
opt-level = 1 # Better compile times with some optimization
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = "thin"
|
|
strip = true # Smaller binary size
|
|
panic = "abort" # Smaller binary size
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints.clippy]
|
|
pedantic = "warn"
|
|
nursery = "warn"
|
|
unwrap_used = "warn"
|
|
expect_used = "warn"
|
|
|
|
[package.metadata.nextest]
|
|
slow-timeout = { period = "120s", terminate-after = 3 }
|