[package] name = "auto-palette-wasm" description = "🎨 A WebAssembly binding for auto-palette, allowing it to automatically extract color palettes from images." readme = "./README.md" categories = ["wasm", "multimedia::images", "graphics", "algorithms"] keywords = ["palette", "color", "image", "color-palette", "webassembly"] edition.workspace = true version.workspace = true authors.workspace = true license.workspace = true homepage.workspace = true repository.workspace = true # `cargo msrv` does not support `rust-version.workspace` yet. # https://github.com/foresterre/cargo-msrv/issues/590 rust-version = "1.75.0" [lib] crate-type = ["cdylib", "rlib"] [dependencies] auto-palette = { workspace = true, features = ["wasm"] } console_error_panic_hook = { workspace = true } js-sys = { workspace = true } wasm-bindgen = { workspace = true } [dev-dependencies] image = { workspace = true } rstest = { workspace = true } wasm-bindgen-test = { workspace = true }