Skip to content

fix(deps): update rust crate colour to v2 #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Oct 21, 2024

This PR contains the following updates:

Package Type Update Change
colour dependencies major 0.6.0 -> 2.0.0

Release Notes

Fraser999/Colour (colour)

v2.1.0

Compare Source

v2.0.0

Compare Source

Added
  • Add support for std::fmt::Formatter in write_ macros.
  • Environment variable NO_COLOR if set to any non-empty value will cause
    colouring to be disabled as recommended in [no-color.org] and
    [Standard for ANSI Colors in Terminals].
  • Environment variable CLICOLOR_FORCE if set to any non-empty value will cause
    colouring to be enabled as recommended in
    [Standard for ANSI Colors in Terminals]. NO_COLOR overrides
    CLICOLOR_FORCE.
  • If neither of the above environment variables are set to a non-empty value,
    colouring will only be enabled if stdout is detected to be a terminal or
    tty.
  • Add force_colour function to force coloured output, regardless of
    environment variables or terminal detection.
  • Add force_no_colour function to disable coloured output, regardless of
    environment variables or terminal detection.
  • Add force_color and force_no_color as aliases for above functions to
    accommodate incorrect US spelling.
  • Add gray_ macros, equivalent to grey_ ones to accommodate wrong US
    spelling.
  • Specify minimum supported Rust version as 1.70.0.
  • Add examples.
Removed
  • Remove dependency on crossterm, breaking Windows support, since crossterm
    cannot support writing using std::fmt::Formatter.

v1.1.0

Compare Source

Changed
  • Avoid consuming writer in write_ macros.

v1.0.0

Compare Source

Added
  • Provide coloured write macros, similar to write! from the Standard Library.
  • Add Cargo.lock to repo.
Changed
  • Update crossterm version.

v0.7.0

Compare Source

Changed
  • Refactor macro implementation to use a higher level macro to generate the individual public macros.
  • Update to edition 2021.
  • Update crossterm version.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/colour-2.x branch from c18ddcb to 3fea4db Compare August 10, 2025 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants