use super::{files::get_file_wrapper, templates::ErrorTemplate}; use rocket::{http::Status, response::content::RawCss}; use std::borrow::Cow; #[derive(Responder)] #[response(status = 200, content_type = "font/woff2")] pub struct RawWoff2Font(pub Cow<'static, [u8]>); #[derive(Responder)] #[response(status = 200, content_type = "font/woff")] pub struct RawWoffFont(pub Cow<'static, [u8]>); #[derive(Responder)] pub struct ErrorTemplateResponder<'a> { template: ErrorTemplate<'a>, } #[get("/css/