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

Upgrade crates (tendril, cargo-suity, smartstring, html5ever/xml5ever) #158

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jblachly
Copy link

@jblachly jblachly commented Aug 6, 2024

I found that running the function Processor::get_bibliography() led to panics (failed assertion) from the smartstring crate when compiled with newer rustc (at least newer than 1.66).

Additionally, compilation with latest rustc indicates a number of crates contain outdated code that will be incompatible with future versions of rustc.

This branch builds on @cormacrelf code in #155 (which upgrades tendril for this same reason) to also upgrade:

  • cargo-suity
  • smartstring (eliminates panic)
  • html5ever/xml5ever

Still needing to be updated is nom, but unfortunately upgrading to nom 7 requires some more in-depth surgery and must wait.

@cormacrelf
Copy link
Collaborator

Fantastic. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants