# 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.4.0" authors = ["Tatsuya Maki "] 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" [[example]] name = "basic" path = "examples/basic.rs" required-features = ["image"] [[example]] name = "algorithm" path = "examples/algorithm.rs" required-features = ["image"] [[example]] name = "theme" path = "examples/theme.rs" required-features = ["image"] [[example]] name = "image_url" path = "examples/image_url.rs" required-features = ["image"] [[example]] name = "image_path" path = "examples/image_path.rs" required-features = ["image"] [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.reqwest] version = "0.12.4" features = ["blocking"] [dev-dependencies.rstest] version = "0.21.0" [features] default = ["image"] image = ["dep:image"] wasm = ["getrandom/js"]