-
Notifications
You must be signed in to change notification settings - Fork 258
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
chore: upgrade console, indicatif to avoid building parking_lot entirely #734
chore: upgrade console, indicatif to avoid building parking_lot entirely #734
Conversation
This is awesome, thanks @joshuarli! Especially for the extra context around the lock file and the trees in different states. |
Builds are definitely a bit faster. Looks like bumping that stuff broke windows, it might be solved by bumping further, lol. |
Great, looks like that did it. |
@joshuarli Out of curiosity, what commands did you use to update the lock file and for generating those trees? The tree especially seems super useful to understand the state of dependencies (and compare when making changes). |
https://github.com/sfackler/cargo-tree
On that topic, I've been thinking about writing a good visual differ for dependency trees... not currently aware of anything that exists. |
…-deps-to-avoid-building-parking-lot
@charlespierce Merged my branch with upstream, and regenerated the lockfile. Upstream master's lockfile seems like it's still pretty stale; lots of transient stuff is being upgraded here. Let me see if I can get you a smaller diff. |
There we go, that's a much saner diff... seems Although, it might be worth a shot to try a |
LGTM, though I'd like to confirm the CI is passing. Going to try to close and re-open to get it to start again. |
Hmm, the empty commit did it, not sure why it was failing 🤷 |
Looks like the Edit: Actually |
Oh, it looks like they just detected and fixed it today: console-rs/console#64 But it hasn't yet been released on Crates.io. We'll probably have to wait for that, and then pull in the updated version. |
@charlespierce Thanks for looking into that! |
@joshuarli Looks like |
@charlespierce Thanks for the heads up, things look good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@charlespierce I'd recommend squash merging in the future, master looks kinda ugly now haha. |
As mentioned here, you can avoid building
parking_lot
entirely if you upgrade console, indicatif, and reqwest.Since reqwest has been swapped out in #733 (this PR builds on top of that) and the new stuff doesn't require it, this is now possible. Honestly it's not really that much more to build, but it is completely unnecessary.
Also @charlespierce, it looks like the lockfile is stale, so feel free to cherry-pick e9599ce and see if you get any improvements there too? Here are some cargo trees you can reproduce:
before regeneration (5af6691): https://gist.github.com/joshuarli/9bb2968b764e7a747a78b6697faae39b
after (e9599ce): https://gist.github.com/joshuarli/9289bcbcf5233b93fa7701fbe9faa925
after upgrade (8fb6e2d): https://gist.github.com/joshuarli/7a973b26a518c33de45a040ad3a79bb1