# 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.0" name = "auto-palette" version = "0.5.0" authors = ["Tatsuya Maki "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "🎨 A Rust library that extracts prominent color palettes from images automatically." homepage = "https://github.com/t28hub/auto-palette" readme = "README.md" keywords = [ "palette", "color", "image", "color-palette", "color-extraction", ] categories = [ "multimedia::images", "graphics", "algorithms", "mathematics", ] license = "MIT" repository = "https://github.com/t28hub/auto-palette" [lib] name = "auto_palette" path = "src/lib.rs" [[example]] name = "algorithm" path = "examples/algorithm.rs" required-features = ["image"] [[example]] name = "basic" path = "examples/basic.rs" required-features = ["image"] [[example]] name = "theme" path = "examples/theme.rs" required-features = ["image"] [[test]] name = "palette" path = "tests/palette.rs" [dependencies.getrandom] version = "0.2.15" [dependencies.image] version = "0.25.1" optional = true [dependencies.num-traits] version = "0.2.18" [dependencies.rand] version = "0.8.5" features = ["std_rng"] default-features = false [dependencies.rand_distr] version = "0.4.3" [dev-dependencies.rstest] version = "0.22.0" [features] default = ["image"] image = ["dep:image"] wasm = ["getrandom/js"]