Follow API change of rocket_i18n
This commit is contained in:
parent
eb22c1168e
commit
4412e0598f
@ -1,11 +1,11 @@
|
|||||||
use plume_models::{db_conn::DbConn, notifications::*, users::User, Connection, PlumeRocket};
|
use plume_models::{db_conn::DbConn, notifications::*, users::User, Connection, PlumeRocket};
|
||||||
|
|
||||||
use crate::templates::Html;
|
use crate::templates::Html;
|
||||||
|
use gettext::Catalog;
|
||||||
use rocket::http::hyper::header::{ETag, EntityTag};
|
use rocket::http::hyper::header::{ETag, EntityTag};
|
||||||
use rocket::http::{Method, Status};
|
use rocket::http::{Method, Status};
|
||||||
use rocket::request::Request;
|
use rocket::request::Request;
|
||||||
use rocket::response::{self, content::Html as HtmlCt, Responder, Response};
|
use rocket::response::{self, content::Html as HtmlCt, Responder, Response};
|
||||||
use rocket_i18n::Catalog;
|
|
||||||
use std::collections::{btree_map::BTreeMap, hash_map::DefaultHasher};
|
use std::collections::{btree_map::BTreeMap, hash_map::DefaultHasher};
|
||||||
use std::hash::Hasher;
|
use std::hash::Hasher;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user