Commit Graph

4 Commits

Author SHA1 Message Date
projectmoon 5ea07b8953 Rip out Diesel in favor of SQLx.
The primary benefit of this is to avoid Rocket's database integration,
which has become problematic in this codebase with the update to the
new async style. Because the async database API is actually
synchronous under the hood, this introduces some annoying lifetime
requirements that basically force us to use owned data everywhere.

The original pattern was to have a separate data layer that could
invoke queries from `self` (the db connection). By using a true async
database driver, we can get this back, because the lifetimes are once
again flexible instead of the ones forced by Rocket.
2020-12-31 14:11:28 +00:00
projectmoon bf2f49f68a Load character in API as common function. Fix attribute editing. 2020-12-29 14:01:07 +00:00
projectmoon 1f6f6432e1 Implement editing of attributes. 2020-12-27 21:49:08 +00:00
projectmoon 4023bdc08a Start of adding protobuf-based editable character sheet. 2020-12-27 21:03:10 +00:00