From ca9ca46a61163c9f307e28b2a8c5c4d0e571cadf Mon Sep 17 00:00:00 2001 From: Tatsuya Maki Date: Tue, 13 Aug 2024 23:39:15 +0900 Subject: [PATCH] Update documentations for v0.5.0 release (#113) --- CHANGELOG.md | 5 +++++ Cargo.toml | 4 ++-- README.md | 2 +- crates/auto-palette-wasm/Cargo.toml | 4 +++- crates/auto-palette/README.md | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d77e970..25b9e7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [v0.5.0](https://github.com/t28hub/auto-palette/releases/tag/v0.5.0) + +* Improve the scoring formula and criteria for better color selection. +* Enhance documentation of `auto-palette-cli`. + ## [v0.4.0](https://github.com/t28hub/auto-palette/releases/tag/v0.4.0) * Introduce support for color format conversion to `CMYK`, `ANSI16`, and `ANSI256`. diff --git a/Cargo.toml b/Cargo.toml index 77eee20..fb5748b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["crates/*"] [workspace.package] edition = "2021" -version = "0.4.0" +version = "0.5.0" authors = ["Tatsuya Maki "] license = "MIT" homepage = "https://github.com/t28hub/auto-palette" @@ -12,7 +12,7 @@ repository = "https://github.com/t28hub/auto-palette" [workspace.dependencies] assert_cmd = "2.0.14" -auto-palette = { version = "0.4.0", path = "crates/auto-palette", default-features = false } +auto-palette = { version = "0.5.0", path = "crates/auto-palette", default-features = false } clap = { version = "4.5.4", features = ["cargo"] } getrandom = "0.2.15" image = "0.25.1" diff --git a/README.md b/README.md index 3129b8c..707ca4c 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ To use `auto-palette` in your Rust project, add it to your `Cargo.toml`. ```toml [dependencies] -auto-palette = "0.4.0" +auto-palette = "0.5.0" ``` ### CLI diff --git a/crates/auto-palette-wasm/Cargo.toml b/crates/auto-palette-wasm/Cargo.toml index 6c3fcf1..7a77ddc 100644 --- a/crates/auto-palette-wasm/Cargo.toml +++ b/crates/auto-palette-wasm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "auto-palette-wasm" description = "🎨 A WebAssembly binding for auto-palette, allowing it to automatically extract color palettes from images." -readme = "../../README.md" +readme = "./README.md" categories = ["wasm", "multimedia::images", "graphics", "algorithms"] keywords = ["palette", "color", "image", "color-palette", "webassembly"] edition.workspace = true @@ -10,10 +10,12 @@ 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"] diff --git a/crates/auto-palette/README.md b/crates/auto-palette/README.md index 18b1e86..b456b16 100644 --- a/crates/auto-palette/README.md +++ b/crates/auto-palette/README.md @@ -28,7 +28,7 @@ Using `auto-palette` in your Rust project, add it to your `Cargo.toml`. ```toml [dependencies] -auto-palette = "0.4.0" +auto-palette = "0.5.0" ``` ## Usage