dithr 0.2.0

Buffer-first rust dithering and halftoning library.
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 = "2021"
rust-version = "1.75"
name = "dithr"
version = "0.2.0"
build = false
exclude = [
    ".github/**/*",
    "crates/**/*",
    "examples/**/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Buffer-first rust dithering and halftoning library."
documentation = "https://docs.rs/dithr"
readme = "README.md"
keywords = [
    "graphics",
    "dithering",
    "halftoning",
    "image",
    "quantization",
]
categories = [
    "graphics",
    "multimedia::images",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/pbkx/dithr"

[features]
default = ["std"]
image = ["dep:image"]
rayon = ["dep:rayon"]
std = []

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

[[test]]
name = "advanced"
path = "tests/advanced.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "diffusion"
path = "tests/diffusion.rs"

[[test]]
name = "golden"
path = "tests/golden.rs"

[[test]]
name = "ordered"
path = "tests/ordered.rs"

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

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

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

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

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

[dependencies.image]
version = "0.24.9"
features = [
    "png",
    "jpeg",
]
optional = true
default-features = false

[dependencies.rayon]
version = "1.11.0"
optional = true

[dev-dependencies.criterion]
version = "0.5"