[package]
edition = "2024"
rust-version = "1.87"
name = "hexal"
version = "0.1.0-alpha.2"
authors = ["Matan Lurey <matan@lurey.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Axial hex coordinates for no_std and embedded targets"
homepage = "https://github.com/crates-lurey-io/hexal"
documentation = "https://docs.rs/hexal"
readme = "README.md"
keywords = [
"hex",
"hexagonal",
"grid",
"gamedev",
"no-std",
]
categories = [
"game-development",
"mathematics",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crates-lurey-io/hexal"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
ixy = ["dep:ixy"]
serde = ["dep:serde"]
[lib]
name = "hexal"
path = "src/lib.rs"
[dependencies.ixy]
version = "0.6.0-alpha.7"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_name_repetitions = "allow"
must_use_candidate = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"
unused_qualifications = "warn"