[package]
edition = "2021"
rust-version = "1.75"
name = "dithr"
version = "0.1.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"