anstream
IO stream adapters for writing colored text that will gracefully degrade according to your terminal's capabilities.
1.0.0
629M downloads/mo
#147 most downloaded on crates.io
rust-cli/anstyle
What this package is like to depend on
Last release 6 months ago
11 Feb 2026
Release timing varies
gaps range from 9 days to 7 months
Most releases are documented
notes for 25 of 32 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
32 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
32 releases · Mar 2023 to Feb 2026Releases
latest 32-
1.0.011 Feb 2026Nothing published for this version
-
0.6.2102 Oct 2025 -
0.6.2005 Aug 2025Nothing published for this version
-
0.6.1904 Jun 2025Nothing published for this version
-
0.6.1804 Nov 2024 -
0.6.1724 Oct 2024Nothing published for this version
-
0.6.1624 Oct 2024Release notes
Open source →Compatibility
- Update MSRV to 1.66
Features
- Implement AutoStream for dyn Write + auto traits
-
0.6.1525 Jul 2024Nothing published for this version
-
0.6.1402 May 2024 -
0.6.1327 Feb 2024 -
0.6.1218 Feb 2024 -
0.6.1118 Jan 2024 -
0.6.1018 Jan 2024 -
0.6.918 Jan 2024 -
0.6.816 Jan 2024 -
0.6.712 Jan 2024 -
0.6.612 Jan 2024Release notes
Open source →Fixes
- Fix soundness issue where invalid escape sequences can break up UTF-8 characters
-
0.6.508 Dec 2023 -
0.6.429 Sep 2023 -
0.6.329 Sep 2023 -
0.6.229 Sep 2023Release notes
Open source →Compatibility
- Deprecated
Bufferin favor ofVec<u8>
Features
- Support
AutoStreamforVec<u8>andBox<dyn Write>
- Deprecated
-
0.6.128 Sep 2023 -
0.6.028 Sep 2023Release notes
Open source →Breaking Change
- Internal traits moved to
streammod - Shift focus from traits to methods for locking / terminal checks
Fixes
- Capture
print!et all in tests - Hold locks over multi-part writes
- Internal traits moved to
-
0.5.024 Aug 2023Release notes
Open source →Compatibility
- Update MSRV to 1.70.0
Breaking Change
- Removed implementations and use of
is_terminal::IsTerminal
Performance
- Improved build times by dropping
is_terminal
-
0.4.023 Aug 2023Release notes
Open source →Breaking Change
- Switched from being generic over types to explicit
impls for expected types
- Switched from being generic over types to explicit
-
0.3.201 May 2023 -
0.3.124 Apr 2023Release notes
Open source →Features
std::fs::Filesupport as aRawStream, allowing stripping content written to a file
-
0.3.013 Apr 2023 -
0.2.617 Mar 2023Nothing published for this version
-
0.2.517 Mar 2023 -
0.2.416 Mar 2023 -
0.2.316 Mar 2023Nothing published for this version