Skip to content

Update all dependencies #708

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

Merged
merged 5 commits into from
Nov 13, 2023
Merged

Update all dependencies #708

merged 5 commits into from
Nov 13, 2023

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Nov 12, 2023

This updates all dependencies, including the version of mdbook used to build the site.

I dropped the use of clap since it was not really serving much purpose.

This is a pretty heavy dependency, which is only used to check for the
arguments "supports renderer".

This doesn't actually drop the clap dependency from the tree due to
mdbook. Hopefully I will get that fixed one day.
@rustbot
Copy link
Collaborator

rustbot commented Nov 12, 2023

r? @Mark-Simulacrum

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 12, 2023
@apiraino
Copy link
Contributor

apiraino commented Nov 13, 2023

@ehuss as you point out here, clap cannot really yet be removed 🙂

@ehuss
Copy link
Contributor Author

ehuss commented Nov 13, 2023

Yea, I noted that in the commit message. Hopefully it can be fully removed in the future.

There are a few reasons for removing it in blacksmith. One is that updating mdbook updated from clap 3 to 4, so it would need to be updated in blacksmith, too. However, the API changed, and I didn't want to try to figure out how to rewrite the code. I do hope someday to get the mdbook preprocessor into a separate crate to drop the dependency. This may motivate me to actually work on that.

@ehuss ehuss merged commit a1d4543 into rust-lang:master Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants