cargo / anstyle / audit
cargo : anstyle @ 1.0.14
PE Patrick Elsen signed 2026-05-27 published 2026-05-27

README.md

43 lines · markdown

# anstyle> ANSI text styling*A portmanteau of "ansi style"*[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]![License](https://img.shields.io/crates/l/anstyle.svg)[![Crates Status](https://img.shields.io/crates/v/anstyle.svg)](https://crates.io/crates/anstyle)`anstyle` provides core types describing [ANSI styling escapecodes](https://en.wikipedia.org/wiki/ANSI_escape_code) for interoperabilitybetween crates.  For example, this would allow a crate to provide an API forcustomizing the colors used without putting the underlying text styling cratein the API.For integration with your text styling crate, see:- [anstyle-termcolor](crates/termcolor)- [anstyle-owo-colors](crates/owo)- [anstyle-yansi](crates/yansi)General utilities:- [anstyle-git](crates/git): Parse Git style descriptions## LicenseLicensed under either of* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>)* MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/license/mit>)at your option.## [Contribute](../../CONTRIBUTING.md)Unless you explicitly state otherwise, any contribution intentionallysubmitted for inclusion in the work by you, as defined in the Apache-2.0license, shall be dual-licensed as above, without any additional terms orconditions.[Crates.io]: https://crates.io/crates/anstyle[Documentation]: https://docs.rs/anstyle