archive-http: rename crate to mailpot-archives for consistency

grcov
Manos Pitsidianakis 2023-04-24 18:08:50 +03:00
parent b48a3c9d12
commit 7246815df8
Signed by: Manos Pitsidianakis
GPG Key ID: 7729C7707F7E09D0
4 changed files with 17 additions and 42 deletions

30
Cargo.lock generated
View File

@ -1583,6 +1583,21 @@ dependencies = [
"xdg",
]
[[package]]
name = "mailpot-archives"
version = "0.0.0+2023-04-21"
dependencies = [
"chrono",
"lazy_static",
"mailpot",
"minijinja",
"percent-encoding",
"serde",
"serde_json",
"tokio",
"warp",
]
[[package]]
name = "mailpot-cli"
version = "0.0.0+2023-04-21"
@ -1789,21 +1804,6 @@ dependencies = [
"ws2_32-sys",
]
[[package]]
name = "mpot-archives"
version = "0.0.0+2023-04-21"
dependencies = [
"chrono",
"lazy_static",
"mailpot",
"minijinja",
"percent-encoding",
"serde",
"serde_json",
"tokio",
"warp",
]
[[package]]
name = "multiparty"
version = "0.1.0"

View File

@ -1,5 +1,5 @@
[package]
name = "mpot-archives"
name = "mailpot-archives"
version = "0.0.0+2023-04-21"
authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"]
edition = "2021"

View File

@ -179,28 +179,3 @@ pub struct MailtoAddress {
#[doc = include_str!("../../README.md")]
#[cfg(doctest)]
pub struct ReadmeDoctests;
#[cfg(test)]
use tests::init_stderr_logging;
#[cfg(test)]
mod tests {
// Initialize logging only once per process in tests.
use std::sync::Once;
static INIT_STDERR_LOGGING: Once = Once::new();
pub fn init_stderr_logging() {
INIT_STDERR_LOGGING.call_once(|| {
stderrlog::new()
.quiet(false)
.verbosity(15)
.show_module_names(true)
.timestamp(stderrlog::Timestamp::Millisecond)
.init()
.unwrap();
});
}
}

View File

@ -380,7 +380,7 @@ fn test_postfix_generation() -> Result<()> {
use crate::*;
crate::init_stderr_logging();
mailpot_tests::init_stderr_logging();
fn get_smtp_conf() -> melib::smtp::SmtpServerConf {
use melib::smtp::*;