clean up imports
This commit is contained in:
parent
a4f8aa3f89
commit
10348afaa7
|
@ -176,17 +176,6 @@ dependencies = [
|
||||||
"memchr",
|
"memchr",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "compile-time-run"
|
|
||||||
version = "0.2.12"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "43b5affba7c91c039a483065125dd8c6d4a0985e1e9ac5ab6dffdea4fe4e637f"
|
|
||||||
dependencies = [
|
|
||||||
"proc-macro2",
|
|
||||||
"quote",
|
|
||||||
"syn 1.0.109",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "core-foundation-sys"
|
name = "core-foundation-sys"
|
||||||
version = "0.8.4"
|
version = "0.8.4"
|
||||||
|
@ -275,7 +264,6 @@ dependencies = [
|
||||||
"askama",
|
"askama",
|
||||||
"bytes",
|
"bytes",
|
||||||
"chrono",
|
"chrono",
|
||||||
"compile-time-run",
|
|
||||||
"dotenvy",
|
"dotenvy",
|
||||||
"femme",
|
"femme",
|
||||||
"futures-util",
|
"futures-util",
|
||||||
|
|
|
@ -9,7 +9,6 @@ edition = "2021"
|
||||||
askama = "0.12.0"
|
askama = "0.12.0"
|
||||||
bytes = "1.5.0"
|
bytes = "1.5.0"
|
||||||
chrono = { version = "0.4.31", features = ["serde"] }
|
chrono = { version = "0.4.31", features = ["serde"] }
|
||||||
compile-time-run = "0.2.12"
|
|
||||||
dotenvy = "0.15.7"
|
dotenvy = "0.15.7"
|
||||||
femme = "2.2.1"
|
femme = "2.2.1"
|
||||||
futures-util = "0.3.28"
|
futures-util = "0.3.28"
|
||||||
|
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
use std::{env::var, net::SocketAddr, path::Path, fs};
|
use std::{env::var, net::SocketAddr, path::Path, fs};
|
||||||
|
|
||||||
use compile_time_run::run_command_str;
|
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
pub struct Redis {
|
pub struct Redis {
|
||||||
pub pass: String,
|
pub pass: String,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use warp::{Filter, reply::{Reply, html}, reject::Rejection};
|
use warp::{Filter, reply::Reply, reject::Rejection};
|
||||||
|
|
||||||
use super::{state::SharedState, rejection::HttpReject};
|
use super::{state::SharedState, rejection::HttpReject};
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
|
|
||||||
<div style="max-width:75vw;width:fit-content;margin:0 auto;text-align:center">
|
<div style="width:fit-content;margin:0;text-align:center;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding-bottom:100px;">
|
||||||
<h1 style="text-align:center;margin-bottom:0">File uploaded successfully!</h1>
|
<h1 style="text-align:center;margin-bottom:0">File uploaded successfully!</h1>
|
||||||
<p style="margin-top:4px;font-size:90%">
|
<p style="margin-top:4px;font-size:90%">
|
||||||
It is available via the
|
It is available via the
|
||||||
|
|
Loading…
Reference in New Issue