[package]
edition = "2024"
rust-version = "1.87"
name = "ixy"
version = "0.6.0"
authors = ["Matan Lurey <matan@lurey.org>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A minimal, no-std compatible crate for 2D integer geometry"
homepage = "https://github.com/crates-lurey-io/ixy"
documentation = "https://docs.rs/ixy"
readme = "README.md"
keywords = [
"2d",
"geometry",
"integer",
"grid",
"position",
]
categories = [
"game-development",
"mathematics",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crates-lurey-io/ixy"
[package.metadata.docs.rs]
all-features = true
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "ixy"
path = "src/lib.rs"
[[example]]
name = "generics"
path = "examples/generics.rs"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[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 = "deny"
unreachable_pub = "deny"
unsafe_code = "forbid"
unused_qualifications = "deny"