https://github.com/rust-cli/anstyle
ANSI text styling
https://github.com/rust-cli/anstyle
Last synced: about 1 month ago
JSON representation
ANSI text styling
- Host: GitHub
- URL: https://github.com/rust-cli/anstyle
- Owner: rust-cli
- License: other
- Created: 2022-05-18T20:50:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T13:59:21.000Z (about 2 months ago)
- Last Synced: 2025-05-08T00:03:09.669Z (about 2 months ago)
- Language: Rust
- Homepage: https://docs.rs/anstyle
- Size: 1.33 MB
- Stars: 133
- Watchers: 7
- Forks: 26
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
This repo contains:
- [`anstream`](./crates/anstream) for a simple cross platform library for writing colored text to a terminal
- [`anstyle`](./crates/anstyle) for style definitions
- User-styling parsers
- [`anstyle-git`](./crates/anstyle-git) for parsing `git` style descriptions
- [`anstyle-ls`](./crates/anstyle-ls) for parsing `LS_COLORS` style descriptions
- Convert to other formats
- [`anstyle-roff`](./crates/anstyle-roff) for converting ANSI codes to `ROFF`
- [`anstyle-svg`](./crates/anstyle-svg) for converting ANSI codes to `SVG`
- Styling integration
- [`anstyle-ansi-term`](./crates/anstyle-ansi-term) for adapting `anstyle` to `ansi_term`
- [`anstyle-crossterm`](./crates/anstyle-crossterm) for adapting `anstyle` to `crossterm`
- [`anstyle-owo-colors`](./crates/anstyle-owo-colors) for adapting `anstyle` to `owo-colors`
- [`anstyle-syntect`](./crates/anstyle-syntect) for adapting `anstyle` to `syntect`
- [`anstyle-termcolor`](./crates/anstyle-termcolor) for adapting `anstyle` to `termcolor`
- [`anstyle-yansi`](./crates/anstyle-yansi) for adapting `anstyle` to `yansi`
- Utilities
- [`anstyle-lossy`](./crates/anstyle-lossy) for converting between color types
- [`anstyle-parse`](./crates/anstyle-parse) for parsing ANSI Style Escapes
- [`anstyle-wincon`](./crates/anstyle-wincon) for styling legacy Microsoft terminals
- [`colorchoice-clap`](./crates/colorchoice-clap) for using `color` flag in `clap`