NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #489 most downloaded on crates.io
The most simple way to add colors in your terminal
Last release 8 months ago
16 Jan 2026
Ships unpredictably
gaps range from 1 weeks to 3.0 years
Most releases are documented
notes for 29 of 33 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
33 releases · first in 2016
3.1.1 Trigger new release
3.1.1
Trigger new release
[BREAKING CHANGE]: Upgrade MSRV to 1.80 and remove the then unnecessary lazy_static dependency.
Warnings added in a later version of clippy.
One column per quarter.
2.2.0 (#186)
* Update to 2.2.0
* Resolve clippy warnings
Warnings added in a later version of clippy.
ColoredString's role in the Colorize pipeline as well as link to it to suggest learning more about how to manipulate existing ColoredString's.ColoredString:
fgcolor, bgcolor, and style due to their obsolescence in the face of the exposing of their represented fields.fgcolor, bgcolor, and style.DerefMut.Style:
Default for Style (returns CLEAR). This exposes a method by which users can create plain Style's from scratch.From<Styles> for Style. This lets users easily create Style's from specific styles.add.remove which essentially does the opposite.Colorize to add stylings (e.g. bold, underline, italic, strikethrough).BitAnd, BitOr, BitXor, and Not as well as their representative assignment operators. You can also use a Styles as an operand for these.FromIterator<Styles> for Style.Styles:
BitAnd, BitOr, BitXor, and Not which all combine Styles's and output Style's. These can also take a Style as an operand.with_style and with_color_and_style to Colorize.Impl From for ColoredString by @mahor1221 in #126
Full Changelog: v2.0.4...v2.1.0
1.70.Switch from winapi to windows-sys .
winapi to windows-sys.Document crate MSRV of 1.63 .
1.63.Replace atty dependency with is-terminal .
src/control.rs.atty dependency with is-terminal.Add edition for future compatibility.
Alter Color interface to return Cow<'static, str>
Color interface to return Cow<'static, str>Replace atty dependency with is-terminal .
atty dependency with is-terminal.Fix compilation regression for 1.34.0. Thanks @jlevon for reporting.
Exposed ColoredString data through methods for purposes of interrogating the applied colours.
ColoredString data through methods for purposes of interrogating the applied colours.Remove deprecated try! macro in codebase
try! macro in codebaseColoredString impl (PR#65)"purple" as match in impl FromStr for Color (PR#71)[POSSIBLE_BREAKING CHANGE]: Replace winconsole with winapi:
winconsole with winapi:
set_virtual_terminal function signature.FEAT: support Windows 10 colors
FEAT: introduce respect for the NO_COLOR environment variable
NO_COLOR environment variableCHORE: fix typos in README and documentation
FEAT: introduced bright colors. "hello".bright_blue().on_bright_red();
"hello".bright_blue().on_bright_red();"hello".strikethrough();FEAT: derive Copy and Clone for Color
ColorColoredStringFIX: method Colorize::reversed has been added. Colorize::reverse was a typo, that we will keep for compatibility
Colorize::reversed has been added. Colorize::reverse was a typo, that we will keep
for compatibility- Update lazy\_static to 0.2.
FEAT: support for "hello".color("blue") (dynamic colors)
"hello".color("blue") (dynamic colors)Nothing published for this version
Nothing published for this version
FIX: usage of nested ColoredString again, no more style broken mid-line
FIX: usage of ColoredString in a nested way broke the styling mid-line
Provide various options for disabling the coloring in an API-compatible way
Support the different formatting options, like padding and alignment
Nothing published for this version
Nothing published for this version
Respect the CLICOLOR/CLICOLOR\_FORCE behavior. See this specs
Fix crate dependencies: move ansi_term in dev\_dependencies
ansi_term in dev_dependencies- Initial release
Your coding agent can read these notes before it upgrades. Set up the MCP server →