Commit 5b6588dc authored by MrMan's avatar MrMan

Fix some warnings, update cargo lock

parent d67ffabb
Pipeline #47778177 failed with stage
in 2 minutes and 3 seconds
This diff is collapsed.
......@@ -26,4 +26,5 @@ simple-signal = "1.1.1"
[dev-dependencies]
tempfile = "3"
smtp = "0.3.0"
\ No newline at end of file
mail = "0.6.7"
rs-docker = "0.0.51"
......@@ -9,10 +9,11 @@ use components::{Component, ReqResp, ComponentCmd, Error};
use config::WebAdminCfg;
use std::sync::mpsc::Sender;
#[allow(dead_code)]
pub struct WebAdmin {
cfg: WebAdminCfg,
// for communicating with a postfix component
// For communicating with a postfix component
postfix_tx_chan: Sender<ReqResp<PostfixCmd>>,
}
......
......@@ -2,7 +2,10 @@ pub mod config;
pub mod components;
pub mod models;
#[allow(unused_imports)] // rust incorrectly warns that askama is unused
#[macro_use] extern crate askama;
#[macro_use] extern crate log;
#[macro_use] extern crate serde_derive;
extern crate actix_web;
......
......@@ -33,3 +33,7 @@ fn port_is_available(port: u16) -> bool {
}
}
fn start_dockerized_postmgr() -> Result<DockerizedPostmgrInfo> {
return Err(std::io::Error("Nope"));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment