+ Lazy static because we need to start caching

and avoid insane heap allocations
This commit is contained in:
shockrah
2021-10-22 23:11:24 -07:00
parent 5fd0279138
commit 31d9794d7f
4 changed files with 79 additions and 16 deletions

View File

@@ -1,5 +1,6 @@
#![feature(decl_macro)]
#[macro_use] extern crate rocket;
#[macro_use] extern crate lazy_static;
use std::env;
use rocket_dyn_templates::Template;