From 175a320d84197896c5b6e038c0d67bbaa84baff0 Mon Sep 17 00:00:00 2001 From: xxanqw Date: Wed, 26 Nov 2025 13:52:24 +0200 Subject: Add color handling and CLI integration tests - Implemented a comprehensive color module in `src/color.rs` that supports named colors, hex, RGB, HSL, ANSI, and truecolor formats. - Added parsing functions for different color formats with error handling. - Introduced conversion methods for colors to RGB and ANSI escape codes. - Created a `ColorMode` enum to detect terminal color capabilities. - Added linear interpolation for colors in HSV space. - Developed integration tests in `tests/integration_tests.rs` to verify CLI functionality, including listing styles and error handling for missing or conflicting arguments. --- Cargo.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index eab83a2..e61489c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mikusays" -version = "0.1.3" +version = "0.1.4" edition = "2024" description = "A \"cowsay\" clone with Hatsune Miku ASCII art and speech bubbles." license = "MIT" @@ -28,6 +28,6 @@ assets = [ [dependencies] crossterm = "0.29" -unicode-width = "0.2" -rand = "0.9" -clap = { version = "4.5.41", features = ["derive"] } +unicode-width = "0.2.2" +rand = "0.9.2" +clap = { version = "4.5.53", features = ["derive"] } -- cgit v1.3-2-g0d8e