diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2022-06-08 00:03:08 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2022-06-08 00:43:44 -0400 |
| commit | 63ff3d96d329db74f1703a6dc775cefcaa617823 (patch) | |
| tree | 1218878195a8cd0977612b4c69480e4e0a5f2264 /src/bin | |
| parent | 9fa89e735859d008673663b740c217d0731e71e1 (diff) | |
Move to Askama templates.
The author of maud seems to be slow on updating to newer actix releases, and the syntax, while clever, is ultimately less tool-friendly than "HTML with some weird characters" is.
I do still like the idea, but I also want to use Actix 4.
Diffstat (limited to 'src/bin')
| -rw-r--r-- | src/bin/web.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/web.rs b/src/bin/web.rs index 6913263..b04a14b 100644 --- a/src/bin/web.rs +++ b/src/bin/web.rs @@ -17,7 +17,7 @@ pub enum Error { type Result = std::result::Result<(), Error>; -#[actix_rt::main] +#[actix_web::main] async fn main() -> Result { let port = twelve::port(3000)?; |
