Use sourcegraph/syntect with a newer syntect version.
Created by: varungandhi-src
There was a dependency resolution error with the old Cargo.lock, so I deleted it and updated the Rocket version as well.
That required some additional minor changes, where I've followed the CHANGELOG and migration guide.
- According to https://github.com/SergioBenitez/Rocket/blob/master/CHANGELOG.md#general
rocket::ignite() is now rocket::build(), returns a Rocket
- The change in the return type of
launch
is based on the style in the Rocket README. - According to point 6 in https://github.com/SergioBenitez/Rocket/blob/master/site/guide/01-upgrading-from-0.4.md#routing :
The register() method require a path to scope catchers under. Using "/" emulates the previous behavior.