Skip to content
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

Adjust dependency to support termcolor 1.2 #131

Merged
merged 1 commit into from
Aug 31, 2023
Merged

Adjust dependency to support termcolor 1.2 #131

merged 1 commit into from
Aug 31, 2023

Conversation

danielparks
Copy link
Contributor

The 1.2.0 update to termcolor is backward compatible with the 1.1 versions. This adjusts the version specification for the dependency in Cargo.toml to allow any version greater than or equal to 1.1 and less than 2.0.


This is preventing me from updating termcolor in a few of my crates. The update adds Debug support to a bunch of types, so it’s kind of handy.

I’d be happy to adjust the dependency specification however you like. Personally, I would not be concerned about the author releasing a breaking change without bumping the version past 2.0.

@danielparks
Copy link
Contributor Author

I added a line to the CHANGELOG, but I’m not sure this is a big enough change to merit that. (I don’t care one way or another about being credited in the CHANGELOG — I just added the credit because it seemed to be the done thing.)

The [1.2.0 update] to [termcolor] is backward compatible with the 1.1
versions. This adjusts the version specification for the dependency in
Cargo.toml to allow any version greater than or equal to 1.1 and less
than 2.0.

[1.2.0 update]: BurntSushi/termcolor@1.1.3...1.2.0
[termcolor]: https://crates.io/crates/termcolor
@danielparks
Copy link
Contributor Author

Rebased. @Drakulix, you you prefer that this limit the termcolor version more? Happy to change it however.

@Drakulix
Copy link
Owner

Ah sorry, I just missed this (always feel free to ping). Looks good to me. Thanks for putting in the time!

I'll try to find time in the next couple of days to churn through the rest of the PRs and make a new release.

@Drakulix Drakulix merged commit 2c98e48 into Drakulix:master Aug 31, 2023
20 of 21 checks passed
@danielparks
Copy link
Contributor Author

Rad, thanks. No worries, it wasn’t a top priority.

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.

2 participants