Files
mikusays-c/Cargo.toml
T
xxanqw 175a320d84 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.
2025-11-26 13:52:24 +02:00

34 lines
1001 B
TOML

[package]
name = "mikusays"
version = "0.1.4"
edition = "2024"
description = "A \"cowsay\" clone with Hatsune Miku ASCII art and speech bubbles."
license = "MIT"
[package.metadata.deb]
maintainer = "Ivan Potiienko <contact@xxanqw.pp.ua>"
copyright = "2025, xxanqw <contact@xxanqw.pp.ua>"
license-file = ["LICENSE", "4"]
extended-description = """\
A cowsay clone featuring Hatsune Miku ASCII art with speech bubbles. \
Create fun terminal messages with various Miku styles."""
depends = "$auto"
section = "utils"
priority = "optional"
assets = [
["target/release/mikusays", "usr/bin/", "755"],
["README.md", "usr/share/doc/mikusays/", "644"],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/mikusays", dest = "/usr/bin/mikusays", mode = "755" },
{ source = "README.md", dest = "/usr/share/doc/mikusays/README.md", mode = "644" },
]
[dependencies]
crossterm = "0.29"
unicode-width = "0.2.2"
rand = "0.9.2"
clap = { version = "4.5.53", features = ["derive"] }