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

updated rust edition to 2021 and rocket to 0.5.1 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

archification
Copy link
Contributor

Simply updating the project to be on current versions of Rust and Rocket.
As of rocket 0.5.0, the rocket_contrib crate was removed and rocket_dyn_templates is now used for templating.
We had to change the template filename from home.hbs to home.html.hbs because of an apparent difference in how this version of rocket handles filenames. I discovered this when I tried to launch the project but saw that the browser was rendering a file called "index" instead of "index.html". The maintainer of rocket responded in this thread stating that the file must be named with .html.hbs.

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.

1 participant