From 983836c43928f85f0f69e0bb94bdae1b00beffb6 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 14 Feb 2021 06:30:53 -0600 Subject: [PATCH] Rename to panorama imap --- Cargo.lock | 18 +++++++++--------- Cargo.toml | 2 +- imap/Cargo.toml | 7 ++----- src/mail.rs | 2 +- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1fae323..de3bb93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -421,14 +421,6 @@ dependencies = [ "winutil", ] -[[package]] -name = "imap" -version = "0.12.2" -dependencies = [ - "assert_matches", - "nom 6.1.0", -] - [[package]] name = "inotify" version = "0.7.1" @@ -774,10 +766,10 @@ dependencies = [ "crossterm", "fern", "futures", - "imap", "lettre", "log", "notify", + "panorama-imap", "pin-project", "rustls-connector", "serde", @@ -791,6 +783,14 @@ dependencies = [ "xdg", ] +[[package]] +name = "panorama-imap" +version = "0.12.2" +dependencies = [ + "assert_matches", + "nom 6.1.0", +] + [[package]] name = "parking_lot" version = "0.11.1" diff --git a/Cargo.toml b/Cargo.toml index 66c1bfa..6850e91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ chrono = "0.4.19" crossterm = "0.19.0" fern = "0.6.0" futures = "0.3.12" -imap = { path = "imap" } +panorama-imap = { path = "imap" } lettre = "0.9.5" log = "0.4.14" notify = "4.0.15" diff --git a/imap/Cargo.toml b/imap/Cargo.toml index 642d1b3..216e494 100644 --- a/imap/Cargo.toml +++ b/imap/Cargo.toml @@ -1,13 +1,10 @@ [package] -name = "imap" +name = "panorama-imap" version = "0.12.2" -authors = ["Dirkjan Ochtman "] +authors = ["Dirkjan Ochtman ", "Michael Zhang "] description = "IMAP protocol parser and data structures" -documentation = "https://docs.rs/imap-proto" keywords = ["imap", "email"] categories = ["email", "network-programming", "parser-implementations"] -homepage = "https://github.com/djc/tokio-imap" -repository = "https://github.com/djc/tokio-imap" license = "MIT/Apache-2.0" edition = "2018" diff --git a/src/mail.rs b/src/mail.rs index 92b2d23..638bfc8 100644 --- a/src/mail.rs +++ b/src/mail.rs @@ -11,7 +11,7 @@ use futures::{ sink::{Sink, SinkExt}, stream::{Stream, StreamExt}, }; -use imap::{ +use panorama_imap::{ builders::command::Command, parser::parse_response, types::{Capability, RequestId, Response, ResponseCode, State, Status},