grixy 0.6.1

Zero-cost 2D grids for embedded systems and graphics
Documentation
# 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 = "2024"
rust-version = "1.87"
name = "grixy"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-cost 2D grids for embedded systems and graphics"
homepage = "https://github.com/crates-lurey-io/grixy"
documentation = "https://docs.rs/grixy"
readme = "README.md"
keywords = [
    "2d",
    "grid",
    "embedded",
    "no-std",
    "gamedev",
]
categories = [
    "game-development",
    "mathematics",
    "embedded",
    "no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/crates-lurey-io/grixy"

[package.metadata.docs.rs]
all-features = true

[features]
alloc = []
buffer = []
cell = []
default = []
serde = [
    "dep:serde",
    "ixy/serde",
]

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

[[example]]
name = "mono-font-raster"
path = "examples/mono-font-raster.rs"

[[example]]
name = "path-finding"
path = "examples/path-finding.rs"

[[example]]
name = "pattern-noise"
path = "examples/pattern-noise.rs"

[[example]]
name = "z-order-layout"
path = "examples/z-order-layout.rs"

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

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

[dependencies.ixy]
version = "0.6.1"

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

[dev-dependencies.bytemuck]
version = "1.23.1"

[dev-dependencies.criterion]
version = "0.7.0"
features = ["html_reports"]

[dev-dependencies.open]
version = "5.3.2"

[dev-dependencies.png]
version = "0.17.16"

[dev-dependencies.serde_json]
version = "1.0"

[dev-dependencies.temp-dir]
version = "0.1.16"

[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"
unused_qualifications = "deny"

[profile.bench]
debug = 2