# 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" name = "quantette" version = "0.3.0" include = ["src"] description = "A fast and high quality image quantizer and palette generator. Supports the CIELAB, Oklab, and sRGB color spaces." homepage = "https://github.com/Ivordir/quantette" readme = "README.md" keywords = [ "quantization", "palette", "color", "dither", "kmeans", ] categories = ["multimedia::images"] license = "MIT OR Apache-2.0" repository = "https://github.com/Ivordir/quantette" [profile.perf] debug = 2 inherits = "release" [[bench]] name = "color_counts" path = "benches/color_counts.rs" harness = false [[bench]] name = "dither" path = "benches/dither.rs" harness = false [[bench]] name = "wu" path = "benches/wu.rs" harness = false [[bench]] name = "kmeans" path = "benches/kmeans.rs" harness = false [dependencies.bitvec] version = "1.0.1" [dependencies.image] version = "0.25.0" optional = true default-features = false [dependencies.num-traits] version = "0.2.16" [dependencies.ordered-float] version = "4.1.0" [dependencies.palette] version = "0.7.5" features = ["std"] default-features = false [dependencies.rand] version = "0.8.5" features = ["alloc"] optional = true default-features = false [dependencies.rand_distr] version = "0.4.3" features = ["alloc"] optional = true default-features = false [dependencies.rand_xoshiro] version = "0.6.0" optional = true [dependencies.rayon] version = "1.10.0" optional = true [dependencies.wide] version = "0.7.12" [dev-dependencies.clap] version = "4.3.0" features = ["derive"] [dev-dependencies.color_quant] version = "1.1.0" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.dssim] version = "3.2.4" [dev-dependencies.exoquant] version = "0.2.0" [dev-dependencies.image] version = "0.25.0" features = [ "jpeg", "png", ] default-features = false [dev-dependencies.imagequant] version = "4.2.0" [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_xoshiro] version = "0.6.0" [dev-dependencies.rgb] version = "0.8.36" features = ["as-bytes"] [features] colorspaces = ["pipelines"] default = [ "pipelines", "colorspaces", "threads", "image", "kmeans", ] image = ["dep:image"] kmeans = [ "rand", "rand_distr", "rand_xoshiro", ] pipelines = [] threads = ["rayon"]