diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-05T20·09+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-20T10·44+0000 |
commit | 929b38e8ae4d61340cbd70352663af8f6f2418cf (patch) | |
tree | b2562c19bf3727bab14e11dabdffb3c8bd3569d0 /web/converse/src/main.rs | |
parent | 54f59a5cc5835932c62c0f2d58712e30c248da4d (diff) |
refactor(web/converse): Refactor first handlers to rouille r/2530
This commit starts the refactoring process towards dropping actix (and tokio, ...). It builds, but at this commit, Converse does *not* work. I decided to commit to avoid more ridiculous diffs. Included changes: * Added dependency on rouille. * Refactored DbExecutor (formerly actix actor) to simply be a type with a few methods. Most actor messages still exist as they are being referred to by handlers. * Started refactoring two of the handlers (and their related renderer functions) into Rouille's call scheme. Important note: Rouille does not have safe session management out of the box, and it will need to be implemented as this progresses. Change-Id: I3e3f203e0705e561e1a3392e8f75dbe273d5fa81 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2861 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web/converse/src/main.rs')
-rw-r--r-- | web/converse/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/converse/src/main.rs b/web/converse/src/main.rs index d17626c17f07..6d6e9ac71020 100644 --- a/web/converse/src/main.rs +++ b/web/converse/src/main.rs @@ -30,6 +30,7 @@ extern crate log; #[macro_use] extern crate serde_derive; +extern crate rouille; extern crate actix; extern crate actix_web; extern crate chrono; |