diff --git a/Cargo.lock b/Cargo.lock index 1a5c5bd..d3a91bf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1514,6 +1514,27 @@ dependencies = [ "warp", ] +[[package]] +name = "mailpot-web" +version = "0.0.0+2023-04-07" +dependencies = [ + "axum", + "axum-login", + "axum-sessions", + "chrono", + "eyre", + "http", + "lazy_static", + "mailpot", + "minijinja", + "percent-encoding", + "rand", + "serde", + "serde_json", + "tempfile", + "tokio", +] + [[package]] name = "matchit" version = "0.7.0" @@ -1673,27 +1694,6 @@ dependencies = [ "warp", ] -[[package]] -name = "mpot-web" -version = "0.0.0+2023-04-07" -dependencies = [ - "axum", - "axum-login", - "axum-sessions", - "chrono", - "eyre", - "http", - "lazy_static", - "mailpot", - "minijinja", - "percent-encoding", - "rand", - "serde", - "serde_json", - "tempfile", - "tokio", -] - [[package]] name = "multiparty" version = "0.1.0" diff --git a/web/Cargo.toml b/web/Cargo.toml index e016326..cedfe2b 100644 --- a/web/Cargo.toml +++ b/web/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "mpot-web" +name = "mailpot-web" version = "0.0.0+2023-04-07" authors = ["Manos Pitsidianakis "] edition = "2021" diff --git a/web/src/auth.rs b/web/src/auth.rs index 22fcbf0..dbcc8ad 100644 --- a/web/src/auth.rs +++ b/web/src/auth.rs @@ -242,7 +242,7 @@ pub struct SshSignature { /// Run ssh signature validation with `ssh-keygen` binary. /// /// ```no_run -/// use mpot_web::{ssh_keygen, SshSignature}; +/// use mailpot_web::{ssh_keygen, SshSignature}; /// /// async fn key_gen( /// ssh_public_key: String, diff --git a/web/src/cal.rs b/web/src/cal.rs index 63ec321..db98f7d 100644 --- a/web/src/cal.rs +++ b/web/src/cal.rs @@ -32,7 +32,7 @@ use chrono::*; /// # Examples /// ``` /// use chrono::*; -/// use mpot_web::calendarize; +/// use mailpot_web::calendarize; /// /// let date = NaiveDate::parse_from_str("2021-01-02", "%Y-%m-%d").unwrap(); /// // Week = [Sun, Mon, Tue, Wed, Thu, Fri, Sat] @@ -60,7 +60,7 @@ pub fn calendarize(date: NaiveDate) -> Vec<[u32; 7]> { /// # Examples /// ``` /// use chrono::*; -/// use mpot_web::calendarize_with_offset; +/// use mailpot_web::calendarize_with_offset; /// /// let date = NaiveDate::parse_from_str("2021-01-02", "%Y-%m-%d").unwrap(); /// // Week = [Mon, Tue, Wed, Thu, Fri, Sat, Sun] diff --git a/web/src/main.rs b/web/src/main.rs index f0602ac..51c852d 100644 --- a/web/src/main.rs +++ b/web/src/main.rs @@ -17,7 +17,7 @@ * along with this program. If not, see . */ -use mpot_web::*; +use mailpot_web::*; use rand::Rng; use minijinja::value::Value;