PackageTrack
Sign in Get early access

supports-color

Detects whether a terminal supports color, and gives details about that support.

3.0.2 60M downloads/mo #1102 most downloaded on crates.io zkat/supports-color

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 8 days to 1.1 years

Nearly every release is documented

notes for 15 of 15 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

15 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

15 releases · Sep 2021 to Nov 2024
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 3.0.2 26 Nov 2024
    Release notes

    chore: Release supports-color version 3.0.2

    Open source →
    Release notes

    Bug Fixes

    • unsafe: Remove unsafe code in favor of OnceLock (#20) (4b299e2a)

    <a name="3.0.1"></a>

    Open source →
  2. 3.0.1 04 Sep 2024
    Release notes

    chore: Release supports-color version 3.0.1

    Open source →
    Release notes

    Bug Fixes

    • ansi: improve detection of terminals over SSH (#19) (370dc2b7)

    <a name="3.0.0"></a>

    Open source →
  3. 3.0.0 04 Feb 2024
    Release notes

    chore: Release supports-color version 3.0.0

    Open source →
    Release notes

    Features

    • deps: Replace is-terminal with std::io::IsTerminal (#11) (6fb6e359)
      • BREAKING CHANGE: This bumps the MSRV to 1.70.0 due to the new std::io::IsTerminal API.

    <a name="2.1.0"></a>

    Open source →
  4. 2.1.0 20 Sep 2023
    Release notes

    chore: Release supports-color version 2.1.0

    Open source →
    Release notes

    Features

    • ignore_is_terminal: Allow the is_terminal check to be overridden by environment variable. (#13) (ff0a31a6)
    • truecolor: improve check for truecolor (#14) (736c044a)

    <a name="2.0.0"></a>

    Open source →
  5. 2.0.0 16 Dec 2022
    Release notes

    Bug Fixes

    • deps: Replace atty with is_terminal (#10) (edf565e5)
      • BREAKING CHANGE: Exported stream types are no longer atty's getting re-exported.
    Open source →
    Release notes

    Bug Fixes

    • deps: Replace atty with is_terminal (#10) (edf565e5)
      • BREAKING CHANGE: Exported stream types are no longer atty's getting re-exported.

    <a name="1.3.1"></a>

    Open source →
  6. 1.3.1 05 Nov 2022
    Release notes

    Bug Fixes

    • docs: Update README example for accuracy (#7) (88a56df7)
    • alloc: stop allocating unnecessary Strings (#8) (606262f7)
    Open source →
    Release notes

    Bug Fixes

    • docs: Update README example for accuracy (#7) (88a56df7)
    • alloc: stop allocating unnecessary Strings (#8) (606262f7)

    <a name="1.3.0"></a>

    Open source →
  7. 1.3.0 04 Oct 2021
    Release notes

    Bug Fixes

    • clicolor: Ignore unit tests on GH action and change order of CLICOLOR check (#5) (370e8188)

    Features

    • msrv: Reduce MSRV from 1.54 to 1.42 (#6) (a33337a6)
    Open source →
    Release notes

    Bug Fixes

    • clicolor: Ignore unit tests on GH action and change order of CLICOLOR check (#5) (370e8188)

    Features

    • msrv: Reduce MSRV from 1.54 to 1.42 (#6) (a33337a6)

    <a name="1.2.0"></a>

    Open source →
  8. 1.2.0 01 Oct 2021
    Release notes

    Features

    Open source →
    Release notes

    Features

    • clicolor: Add CLICOLOR support (#4) (71b0ff30)

    <a name="1.1.1"></a>

    Open source →
  9. 1.1.1 22 Sep 2021
    Release notes

    Bug Fixes

    • deps: bump is_ci because of missing api (31d57374)
    Open source →
    Release notes

    Bug Fixes

    • deps: bump is_ci because of missing api (31d57374)

    <a name="1.1.0"></a>

    Open source →
  10. 1.1.0 22 Sep 2021
    Release notes

    Features

    • api: Add cached version of supports_color::on (#1) (2cf2b76f)
    Open source →
    Release notes

    Features

    • api: Add cached version of supports_color::on (#1) (2cf2b76f)

    <a name="1.0.4"></a>

    Open source →
  11. 1.0.4 22 Sep 2021
    Release notes

    Bug Fixes

    • deps: remove dependencies on regex and lazy-static too (366f5b92)

    <a name="1.0.3"></a>

    Open source →
  12. 1.0.3 22 Sep 2021
    Release notes

    Bug Fixes

    • deps: switch to much more lightweight is_ci (d481c017)

    <a name="1.0.2"></a>

    Open source →
  13. 1.0.2 11 Sep 2021
    Release notes

    Bug Fixes

    • detection: messed up logic on windows and forgot no_color. oops (fbecf72f)

    <a name="1.0.1"></a>

    Open source →
  14. 1.0.1 11 Sep 2021
    Release notes

    Bug Fixes

    • api: forgot to export atty::Stream, and example was totally wrong (a9eef66f)

    <a name="1.0.0"></a>

    Open source →
  15. 1.0.0 11 Sep 2021
    Release notes

    Features

    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