PackageTrack
Sign in Get early access

anstyle

ANSI text styling

1.0.14 680M downloads/mo #130 most downloaded on crates.io rust-cli/anstyle

What this package is like to depend on

Last release 5 months ago

13 Mar 2026

Ships fairly regularly

a new release about every 3 months

Most releases are documented

notes for 23 of 31 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

31 releases · first in 2022

3 releases in the last 12 months

see the full history below

Release timeline

31 releases · May 2022 to Mar 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 31
  1. 1.0.14 13 Mar 2026
    Release notes

    chore: Release anstyle version 1.0.14

    Open source →
  2. 1.0.13 29 Sep 2025

    Nothing published for this version

  3. 1.0.12 29 Sep 2025
    Release notes

    Fixes

    • Remove leading zero when rendering single-digit Ansi256Color
    Open source →
  4. 1.0.11 04 Jun 2025

    Nothing published for this version

  5. 1.0.10 01 Nov 2024
    Release notes

    Performance

    • Replace some write!s with write_str
    Open source →
  6. 1.0.9 24 Oct 2024
    Release notes

    Compatibility

    • Update MSRV to 1.66
    Open source →
  7. 1.0.8 25 Jul 2024

    Nothing published for this version

  8. 1.0.7 02 May 2024
    Release notes

    Fixes

    • Drop MSRV to 1.65
    Open source →
  9. 1.0.6 05 Feb 2024
    Release notes

    Fixes

    • Ignore Display settings like padding (we were inconsistent about that and generally wrong when we did it)
    Open source →
  10. 1.0.5 29 Jan 2024
    Release notes

    Features

    • Implement Display for Style where the alternate flag is for reset
    • Implement Display for Reset
    Open source →
  11. 1.0.4 28 Sep 2023
    Release notes

    Features

    • Allow Display types to be copied
    Open source →
  12. 1.0.3 11 Sep 2023
    Release notes

    Compatibility

    • Update MSRV to 1.70.0

    Features

    • Make Color::on_default const
    Open source →
  13. 1.0.2 23 Aug 2023

    Nothing published for this version

  14. 1.0.1 20 Jun 2023

    Nothing published for this version

  15. 1.0.0 13 Apr 2023
    Release notes

    Breaking Change

    • Removed APIs that assume a color is a foreground color
      • See instead Color::on_default
    Open source →
  16. 0.3.5 17 Mar 2023
    Release notes

    Performance

    • Binary size optimizations
    Open source →
  17. 0.3.4 16 Mar 2023
    Release notes

    Features

    • Anstyle::write_to to bypass Display overhead

    Internal

    • Simplified writing of ANSI codes by writing them separately
    Open source →
  18. 0.3.3 16 Mar 2023
    Release notes

    Features

    • Color::on_default for more explicit color to style conversion
    Open source →
  19. 0.3.2 16 Mar 2023
    Release notes

    Documentation

    • Fix links
    Open source →
  20. 0.3.1 10 Mar 2023
    Release notes

    Documentation

    • Add more related crates
    Open source →
  21. 0.3.0 10 Mar 2023
    Release notes

    Compatibility

    • Rename XTermColor to Ansi256Color
    • Rename Color::XTerm to Color::Ansi256
    • Replaced fg_color | bg_color with fg_color.on(bg_color)
    • #[must_use] was added to calls

    Features

    • Added #[repr(u8)] to AnsiColor

    Fixes

    • Help catch API misused with #[must_use]

    Performance

    • #[inline]d some calls
    Open source →
  22. 0.2.8 07 Mar 2023
    Release notes

    Documentation

    • Color clarifications
    Open source →
  23. 0.2.7 07 Mar 2023
    Release notes

    Documentation

    • Fix links
    Open source →
  24. 0.2.6 06 Mar 2023
    Release notes

    Features

    • Alternative underline styles
    • Style::render_reset for easier use

    Compatibility

    MSRV updated to 1.64.0

    Open source →
  25. 0.2.5 09 Nov 2022
    Release notes

    Fixes

    • Fix swapping of foreground and background introduced in 0.2.3
    Open source →
  26. 0.2.4 07 Oct 2022

    Nothing published for this version

  27. 0.2.3 07 Oct 2022

    Nothing published for this version

  28. 0.2.2 17 Aug 2022

    Nothing published for this version

  29. 0.2.1 19 May 2022
    Release notes

    Features

    • With From and PartialEq, colors and Effects are considered equivalent of Style
    Open source →
  30. 0.2.0 19 May 2022
    Release notes

    Breaking Changes

    • Style::fg_color / Style::bg_color now accept an Option<Color>

    Features

    • no_std support
    • let style = color | effects; support for easier construction
    • Added Color::from((r, g, b)) for easier creation

    Fixes

    • Allow clearing fg/bg colors
    Open source →
  31. 0.1.1 18 May 2022
    Release notes

    <!-- next-url --> [Unreleased]: https://github.com/rust-cli/anstyle/compare/v1.0.14...HEAD [1.0.14]: https://github.com/rust-cli/anstyle/compare/v1.0.13...v1.0.14 [1.0.13]: https://github.com/rust-cli/anstyle/compare/v1.0.12...v1.0.13 [1.0.12]: https://github.com/rust-cli/anstyle/compare/v1.0.11...v1.0.12 [1.0.11]: https://github.com/rust-cli/anstyle/compare/v1.0.10...v1.0.11 [1.0.10]: https://github.com/rust-cli/anstyle/compare/v1.0.9...v1.0.10 [1.0.9]: https://github.com/rust-cli/anstyle/compare/v1.0.8...v1.0.9 [1.0.8]: https://github.com/rust-cli/anstyle/compare/v1.0.7...v1.0.8 [1.0.7]: https://github.com/rust-cli/anstyle/compare/v1.0.6...v1.0.7 [1.0.6]: https://github.com/rust-cli/anstyle/compare/v1.0.5...v1.0.6 [1.0.5]: https://github.com/rust-cli/anstyle/compare/v1.0.4...v1.0.5 [1.0.4]: https://github.com/rust-cli/anstyle/compare/v1.0.3...v1.0.4 [1.0.3]: https://github.com/rust-cli/anstyle/compare/v1.0.2...v1.0.3 [1.0.2]: https://github.com/rust-cli/anstyle/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/rust-cli/anstyle/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/rust-cli/anstyle/compare/v0.3.5...v1.0.0 [0.3.5]: https://github.com/rust-cli/anstyle/compare/v0.3.4...v0.3.5 [0.3.4]: https://github.com/rust-cli/anstyle/compare/v0.3.3...v0.3.4 [0.3.3]: https://github.com/rust-cli/anstyle/compare/v0.3.2...v0.3.3 [0.3.2]: https://github.com/rust-cli/anstyle/compare/v0.3.1...v0.3.2 [0.3.1]: https://github.com/rust-cli/anstyle/compare/v0.3.0...v0.3.1 [0.3.0]: https://github.com/rust-cli/anstyle/compare/v0.2.8...v0.3.0 [0.2.8]: https://github.com/rust-cli/anstyle/compare/v0.2.7...v0.2.8 [0.2.7]: https://github.com/rust-cli/anstyle/compare/v0.2.6...v0.2.7 [0.2.6]: https://github.com/rust-cli/anstyle/compare/v0.2.5...v0.2.6 [0.2.5]: https://github.com/rust-cli/anstyle/compare/v0.2.4...v0.2.5 [0.2.4]: https://github.com/rust-cli/anstyle/compare/v0.2.3...v0.2.4 [0.2.3]: https://github.com/rust-cli/anstyle/compare/v0.2.2...v0.2.3 [0.2.2]: https://github.com/rust-cli/anstyle/compare/v0.2.1...v0.2.2 [0.2.1]: https://github.com/rust-cli/anstyle/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/rust-cli/anstyle/compare/v0.1.1...v0.2.0 [0.1.1]: https://github.com/rust-cli/anstyle/compare/6644c8911424a1451b483d39a3b415a41abfdf1b...v0.1.1

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive