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

Bump various dependency versions #10214

Merged
merged 23 commits into from
Nov 20, 2023
Merged

Conversation

Ekleog-NEAR
Copy link
Collaborator

In particular:

  • cpufeatures
  • ahash
  • hashbrown
  • criterion
  • pretty-assertions
  • tracing-subscriber
  • chrono
  • h2
  • tempfile
  • hermit-abi

Also:

  • replaced ansi_term with yansi
  • removed our dependency on atty altogether

All this together, alongside with #10201, gets us to zero cargo-audit warnings :)

This might be best reviewed commit-by-commit, to more easily see which changes are due to which dependency (though I tried bumping chrono and replacing ansi_term at the same time, resulting in alternating commits as my test compilations made progress)

@Ekleog-NEAR Ekleog-NEAR requested a review from a team as a code owner November 18, 2023 21:43
@Ekleog-NEAR Ekleog-NEAR requested a review from wacban November 18, 2023 21:43
@wacban
Copy link
Contributor

wacban commented Nov 20, 2023

All this together, alongside with #10201, gets us to zero cargo-audit warnings :)

❤️

Copy link
Contributor

@wacban wacban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

paint("HEADER", Purple.bold(), use_colour),
paint("HEADER", Magenta.style().bold(), use_colour),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, did they actually rename the color when bumping version or do you just like megenta more? :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah nevemind, it's different library

@@ -538,9 +538,9 @@ impl InfoHelper {

fn log_chain_processing_info(&mut self, client: &crate::Client, epoch_id: &EpochId) {
let chain = &client.chain;
let use_colour = matches!(self.log_summary_style, LogSummaryStyle::Colored);
let use_color = matches!(self.log_summary_style, LogSummaryStyle::Colored);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a British resident I strongly disagree ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(I'm fine with it, just don't tell the king)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heh 😅 turns out ansi_term was written by british people, and yansi by americans, or so it seems :p

Comment on lines +96 to +97
use std::io::IsTerminal;
std::io::stderr().is_terminal()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@Ekleog-NEAR Ekleog-NEAR added this pull request to the merge queue Nov 20, 2023
Merged via the queue into near:master with commit 7934b34 Nov 20, 2023
12 checks passed
@Ekleog-NEAR Ekleog-NEAR deleted the lockfile-bumps branch November 20, 2023 10:31
nagisa added a commit to Ekleog-NEAR/nearcore that referenced this pull request Nov 23, 2023
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