Commit graph

6 commits

Author SHA1 Message Date
Vincent Ambo
fdc1abe7cc feat(errors): Introduce error module with custom error type
Introduces an error type using the failure crate. This type has
foreign error links established to various errors that can occur
within Converse.
2018-04-08 19:21:56 +02:00
Vincent Ambo
3db069c60d feat(main): Add support for Tera templates
Sets up the structure required to carry Tera templates in the
actix-web state.

The (still very barebones) index renderer has been updated to render a
Tera template.
2018-04-08 17:30:03 +02:00
Vincent Ambo
b83dd99e30 chore(cargo): Add dependency on tera
Adds tera as the templating engine.
2018-04-08 17:14:38 +02:00
Vincent Ambo
1402cfd948 feat(main): Add barebares thread listing
This ties together the first components here (actix, diesel etc.) to
provide a _very_ simple thread overview.
2018-04-08 17:05:28 +02:00
Vincent Ambo
bea6eb8eb3 feat(db): Bootstrap DbExecutor actor
Bootstraps an Actix actor carrying DB connections. This actor will be
used to interact with converse's database.
2018-04-08 16:41:34 +02:00
Vincent Ambo
106ade6e41 chore: Add bootstrapped Cargo project 2018-04-08 15:48:49 +02:00