ditherlib 1.0.0

Non-destructive image effects and dithering for whole images and custom selections
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.88"
name = "ditherlib"
version = "1.0.0"
build = false
exclude = [
    "/*.jpg",
    "assets/",
    "tests/fixtures",
    "tools/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Non-destructive image effects and dithering for whole images and custom selections"
homepage = "https://github.com/Downmoto/ditherlib"
documentation = "https://docs.rs/ditherlib"
readme = "README.md"
keywords = [
    "dithering",
    "image-processing",
    "image-effects",
    "graphics",
]
categories = [
    "multimedia::images",
    "graphics",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/Downmoto/ditherlib"

[features]
avif = ["image/avif"]
bmp = ["image/bmp"]
dds = ["image/dds"]
default = [
    "jpeg",
    "png",
]
exr = ["image/exr"]
ff = ["image/ff"]
gif = ["image/gif"]
hdr = ["image/hdr"]
ico = ["image/ico"]
jpeg = ["image/jpeg"]
png = ["image/png"]
pnm = ["image/pnm"]
qoi = ["image/qoi"]
tga = ["image/tga"]
tiff = ["image/tiff"]
webp = ["image/webp"]

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

[[example]]
name = "comparison"
path = "examples/comparison.rs"

[[example]]
name = "error_diffusion"
path = "examples/error_diffusion.rs"

[[example]]
name = "halftone"
path = "examples/halftone.rs"

[[example]]
name = "ordered_dither"
path = "examples/ordered_dither.rs"

[[example]]
name = "palettes"
path = "examples/palettes.rs"

[[example]]
name = "pipeline"
path = "examples/pipeline.rs"

[[example]]
name = "quick_start"
path = "examples/quick_start.rs"

[[example]]
name = "selections"
path = "examples/selections.rs"

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

[dependencies.image]
version = "0.25.10"
default-features = false

[dev-dependencies.criterion]
version = "0.8.2"
features = [
    "html_reports",
    "plotters",
]
default-features = false