Rocket 0.5 is a major uprade, rewriting most of Rocket to be async.
Required many changes through the code, especially the database layer.
The new Rocket async database calls require Futures with 'static
lifetimes.
General:
- Move to stable rust.
- Most of codebase is now async.
- Rocket migrations (e.g. Cookies to CookieJar).
Database:
- Switched to owned data (&str -> String) for inserts because of the
'static lifetime requirement on Rocket's DB future.
- All database methods now asynchronous.
Pages:
- Changed various routes to async.
- Needed to add clone calls to some places because we need to use
owned data multiple times (registration).
Implements the absolute basics of the character creation flow, AKA
most things are missing. Integrates a method of storing character
data, support for that in the database, and a working character
creation page.
The only thing the page does at the moment is create a hardcoded basic
CofD character sheet and save it to the database. There is no ability
to change game system, fill in extra details, etc. There's also no
ability to edit anything.
Also added basic links to the registration and create new character
pages.