geforkt von mirrored/vaultwarden
Formatting
Dieser Commit ist enthalten in:
Ursprung
8bf1278b1b
Commit
e3a2dfffab
2 geänderte Dateien mit 3 neuen und 11 gelöschten Zeilen
|
@ -42,6 +42,7 @@ use jsonwebtoken::errors::Error as JwtErr;
|
||||||
use lettre::address::AddressError as AddrErr;
|
use lettre::address::AddressError as AddrErr;
|
||||||
use lettre::error::Error as LettreErr;
|
use lettre::error::Error as LettreErr;
|
||||||
use lettre::transport::smtp::Error as SmtpErr;
|
use lettre::transport::smtp::Error as SmtpErr;
|
||||||
|
use openssl::error::ErrorStack as SSLErr;
|
||||||
use regex::Error as RegexErr;
|
use regex::Error as RegexErr;
|
||||||
use reqwest::Error as ReqErr;
|
use reqwest::Error as ReqErr;
|
||||||
use serde_json::{Error as SerdeErr, Value};
|
use serde_json::{Error as SerdeErr, Value};
|
||||||
|
@ -50,7 +51,6 @@ use std::time::SystemTimeError as TimeErr;
|
||||||
use u2f::u2ferror::U2fError as U2fErr;
|
use u2f::u2ferror::U2fError as U2fErr;
|
||||||
use webauthn_rs::error::WebauthnError as WebauthnErr;
|
use webauthn_rs::error::WebauthnError as WebauthnErr;
|
||||||
use yubico::yubicoerror::YubicoError as YubiErr;
|
use yubico::yubicoerror::YubicoError as YubiErr;
|
||||||
use openssl::error::ErrorStack as SSLErr;
|
|
||||||
|
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
pub struct Empty {}
|
pub struct Empty {}
|
||||||
|
|
10
src/main.rs
10
src/main.rs
|
@ -17,15 +17,7 @@ extern crate diesel;
|
||||||
extern crate diesel_migrations;
|
extern crate diesel_migrations;
|
||||||
|
|
||||||
use job_scheduler::{Job, JobScheduler};
|
use job_scheduler::{Job, JobScheduler};
|
||||||
use std::{
|
use std::{fs::create_dir_all, panic, path::Path, process::exit, str::FromStr, thread, time::Duration};
|
||||||
fs::create_dir_all,
|
|
||||||
panic,
|
|
||||||
path::Path,
|
|
||||||
process::exit,
|
|
||||||
str::FromStr,
|
|
||||||
thread,
|
|
||||||
time::Duration,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod error;
|
mod error;
|
||||||
|
|
Laden …
In neuem Issue referenzieren