+26 -26 +/-5 browse
1 | diff --git a/Cargo.lock b/Cargo.lock |
2 | index 1a5c5bd..d3a91bf 100644 |
3 | --- a/Cargo.lock |
4 | +++ b/Cargo.lock |
5 | @@ -1515,6 +1515,27 @@ dependencies = [ |
6 | ] |
7 | |
8 | [[package]] |
9 | + name = "mailpot-web" |
10 | + version = "0.0.0+2023-04-07" |
11 | + dependencies = [ |
12 | + "axum", |
13 | + "axum-login", |
14 | + "axum-sessions", |
15 | + "chrono", |
16 | + "eyre", |
17 | + "http", |
18 | + "lazy_static", |
19 | + "mailpot", |
20 | + "minijinja", |
21 | + "percent-encoding", |
22 | + "rand", |
23 | + "serde", |
24 | + "serde_json", |
25 | + "tempfile", |
26 | + "tokio", |
27 | + ] |
28 | + |
29 | + [[package]] |
30 | name = "matchit" |
31 | version = "0.7.0" |
32 | source = "registry+https://github.com/rust-lang/crates.io-index" |
33 | @@ -1674,27 +1695,6 @@ dependencies = [ |
34 | ] |
35 | |
36 | [[package]] |
37 | - name = "mpot-web" |
38 | - version = "0.0.0+2023-04-07" |
39 | - dependencies = [ |
40 | - "axum", |
41 | - "axum-login", |
42 | - "axum-sessions", |
43 | - "chrono", |
44 | - "eyre", |
45 | - "http", |
46 | - "lazy_static", |
47 | - "mailpot", |
48 | - "minijinja", |
49 | - "percent-encoding", |
50 | - "rand", |
51 | - "serde", |
52 | - "serde_json", |
53 | - "tempfile", |
54 | - "tokio", |
55 | - ] |
56 | - |
57 | - [[package]] |
58 | name = "multiparty" |
59 | version = "0.1.0" |
60 | source = "registry+https://github.com/rust-lang/crates.io-index" |
61 | diff --git a/web/Cargo.toml b/web/Cargo.toml |
62 | index e016326..cedfe2b 100644 |
63 | --- a/web/Cargo.toml |
64 | +++ b/web/Cargo.toml |
65 | @@ -1,5 +1,5 @@ |
66 | [package] |
67 | - name = "mpot-web" |
68 | + name = "mailpot-web" |
69 | version = "0.0.0+2023-04-07" |
70 | authors = ["Manos Pitsidianakis <el13635@mail.ntua.gr>"] |
71 | edition = "2021" |
72 | diff --git a/web/src/auth.rs b/web/src/auth.rs |
73 | index 22fcbf0..dbcc8ad 100644 |
74 | --- a/web/src/auth.rs |
75 | +++ b/web/src/auth.rs |
76 | @@ -242,7 +242,7 @@ pub struct SshSignature { |
77 | /// Run ssh signature validation with `ssh-keygen` binary. |
78 | /// |
79 | /// ```no_run |
80 | - /// use mpot_web::{ssh_keygen, SshSignature}; |
81 | + /// use mailpot_web::{ssh_keygen, SshSignature}; |
82 | /// |
83 | /// async fn key_gen( |
84 | /// ssh_public_key: String, |
85 | diff --git a/web/src/cal.rs b/web/src/cal.rs |
86 | index 63ec321..db98f7d 100644 |
87 | --- a/web/src/cal.rs |
88 | +++ b/web/src/cal.rs |
89 | @@ -32,7 +32,7 @@ use chrono::*; |
90 | /// # Examples |
91 | /// ``` |
92 | /// use chrono::*; |
93 | - /// use mpot_web::calendarize; |
94 | + /// use mailpot_web::calendarize; |
95 | /// |
96 | /// let date = NaiveDate::parse_from_str("2021-01-02", "%Y-%m-%d").unwrap(); |
97 | /// // Week = [Sun, Mon, Tue, Wed, Thu, Fri, Sat] |
98 | @@ -60,7 +60,7 @@ pub fn calendarize(date: NaiveDate) -> Vec<[u32; 7]> { |
99 | /// # Examples |
100 | /// ``` |
101 | /// use chrono::*; |
102 | - /// use mpot_web::calendarize_with_offset; |
103 | + /// use mailpot_web::calendarize_with_offset; |
104 | /// |
105 | /// let date = NaiveDate::parse_from_str("2021-01-02", "%Y-%m-%d").unwrap(); |
106 | /// // Week = [Mon, Tue, Wed, Thu, Fri, Sat, Sun] |
107 | diff --git a/web/src/main.rs b/web/src/main.rs |
108 | index f0602ac..51c852d 100644 |
109 | --- a/web/src/main.rs |
110 | +++ b/web/src/main.rs |
111 | @@ -17,7 +17,7 @@ |
112 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
113 | */ |
114 | |
115 | - use mpot_web::*; |
116 | + use mailpot_web::*; |
117 | use rand::Rng; |
118 | |
119 | use minijinja::value::Value; |