Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
examples/ | 25-Apr-2025 | - | 135 | 119 | ||
src/ | 25-Apr-2025 | - | 1,648 | 1,086 | ||
.cargo-checksum.json | D | 25-Apr-2025 | 1.1 KiB | 1 | 1 | |
Android.bp | D | 25-Apr-2025 | 897 | 36 | 32 | |
Cargo.lock | D | 25-Apr-2025 | 372 | 17 | 14 | |
Cargo.toml | D | 25-Apr-2025 | 4 KiB | 177 | 160 | |
LICENSE | D | 25-Apr-2025 | 11.1 KiB | 203 | 169 | |
LICENSE-APACHE | D | 25-Apr-2025 | 11.1 KiB | 203 | 169 | |
LICENSE-MIT | D | 25-Apr-2025 | 1 KiB | 20 | 16 | |
METADATA | D | 25-Apr-2025 | 357 | 18 | 17 | |
MODULE_LICENSE_APACHE2 | D | 25-Apr-2025 | 0 | |||
README.md | D | 25-Apr-2025 | 1.4 KiB | 43 | 29 | |
cargo_embargo.json | D | 25-Apr-2025 | 30 | 4 | 3 |
README.md
1# anstyle 2 3> ANSI text styling 4 5*A portmanteau of "ansi style"* 6 7[][Documentation] 8 9[](https://crates.io/crates/anstyle) 10 11`anstyle` provides core types describing [ANSI styling escape 12codes](https://en.wikipedia.org/wiki/ANSI_escape_code) for interoperability 13between crates. For example, this would allow a crate to provide an API for 14customizing the colors used without putting the underlying text styling crate 15in the API. 16 17For integration with your text styling crate, see: 18- [anstyle-termcolor](crates/termcolor) 19- [anstyle-owo-colors](crates/owo) 20- [anstyle-yansi](crates/yansi) 21 22General utilities: 23- [anstyle-git](crates/git): Parse Git style descriptions 24 25## License 26 27Licensed under either of 28 29 * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0) 30 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT) 31 32at your option. 33 34### Contribution 35 36Unless you explicitly state otherwise, any contribution intentionally 37submitted for inclusion in the work by you, as defined in the Apache-2.0 38license, shall be dual licensed as above, without any additional terms or 39conditions. 40 41[Crates.io]: https://crates.io/crates/anstyle 42[Documentation]: https://docs.rs/anstyle 43