fix(web/converse): Bare minimum changes to build in 2021

This project depends on Tokio, via actix, and both of those are bad
ideas. This wasn't as clear 3 years ago as it is now, but to
demonstrate it the project has amassed issues which required at least
this minimum of changes to be buildable in 2021 (using a modern
rustc).

Yes, this adds dozens of new dependencies again (because of a
top-level update) but don't worry: They will be gone when I'm done
here.

Change-Id: I1dde9dc0325da7bdcb6608359fab33e27692dc1d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2857
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-04-05 17:22:48 +02:00 committed by tazjin
parent 5387cc9e7d
commit a0c4b91955
7 changed files with 1936 additions and 6664 deletions

View file

@ -2,11 +2,11 @@
name = "converse"
version = "0.1.0"
authors = ["Vincent Ambo <mail@tazj.in>"]
license = "AGPL-3.0-or-later"
license = "GPL-3.0"
[dependencies]
actix = "0.5"
actix-web = "0.6"
actix = "0.7"
actix-web = "0.7"
askama = "0.6"
chrono = { version = "0.4", features = ["serde"] }
comrak = "0.2"
@ -21,7 +21,7 @@ mime_guess = "2.0.0-alpha"
pq-sys = "=0.4.4"
r2d2 = "0.8"
rand = "0.4"
reqwest = "0.8"
reqwest = "0.9"
serde = "1.0"
serde_derive = "1.0"
serde_json = "1.0"