- Add support for true colours.
- Alter
Color
interface to returnCow<'static, str>
- Fix compilation regression for 1.34.0. Thanks @jlevon for reporting.
- Exposed
ColoredString
data through methods for purposes of interrogating the applied colours. - Increased documentation.
- Remove deprecated
try!
macro in codebase - Reduce allocations in
ColoredString
impl (PR#65) - Added
"purple"
as match inimpl FromStr for Color
(PR#71)
- [POSSIBLE_BREAKING CHANGE]: Replace
winconsole
withwinapi
:- Changes
set_virtual_terminal
function signature.
- Changes
- Update dependencies
- Add Dockerfile
- Respect tty discovery for CLICOLOR
- FEAT: support Windows 10 colors
- TECH: update lazy_static
- FEAT: introduce respect for the
NO_COLOR
environment variable
- TECH: update lazy_static
- CHORE: fix typos in README and documentation
- FEAT: introduced bright colors.
"hello".bright_blue().on_bright_red();
- FEAT: introduced strikethrough styling.
"hello".strikethrough();
- FEAT: derive Copy and Clone for
Color
- FEAT: derive Clone for
ColoredString
- FIX: method
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)
- 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
- Respect the CLICOLOR/CLICOLOR_FORCE behavior. See this specs
- Add a CHANGLOG
- Fix crate dependencies: move
ansi_term
in dev_dependencies
- Initial release