• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

examples/25-Apr-2025-135119

src/25-Apr-2025-1,6481,086

.cargo-checksum.jsonD25-Apr-20251.1 KiB11

Android.bpD25-Apr-2025897 3632

Cargo.lockD25-Apr-2025372 1714

Cargo.tomlD25-Apr-20254 KiB177160

LICENSED25-Apr-202511.1 KiB203169

LICENSE-APACHED25-Apr-202511.1 KiB203169

LICENSE-MITD25-Apr-20251 KiB2016

METADATAD25-Apr-2025357 1817

MODULE_LICENSE_APACHE2D25-Apr-20250

README.mdD25-Apr-20251.4 KiB4329

cargo_embargo.jsonD25-Apr-202530 43

README.md

1# anstyle
2
3> ANSI text styling
4
5*A portmanteau of "ansi style"*
6
7[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)][Documentation]
8![License](https://img.shields.io/crates/l/anstyle.svg)
9[![Crates Status](https://img.shields.io/crates/v/anstyle.svg)](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