anstyle (1.0.14)
Published 2026-03-26 10:31:04 +00:00 by siennathesane
Installation
[registry]
default = "gitea"
[registries.gitea]
index = "sparse+ " # Sparse index
# index = " " # Git
[net]
git-fetch-with-cli = truecargo add anstyle@1.0.14About this package
ANSI text styling
anstyle
ANSI text styling
A portmanteau of "ansi style"
anstyle provides core types describing ANSI styling escape
codes for interoperability
between crates. For example, this would allow a crate to provide an API for
customizing the colors used without putting the underlying text styling crate
in the API.
For integration with your text styling crate, see:
General utilities:
- anstyle-git: Parse Git style descriptions
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/license/mit)
at your option.
Contribute
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.
Dependencies
| ID | Version |
|---|---|
| lexopt | ^0.3.1 |
| snapbox | ^0.6.23 |
Keywords
ansi
terminal
color
no_std