melib: run rustfmt and cargo-sort

This commit is contained in:
Manos Pitsidianakis 2023-08-19 09:07:55 +03:00
parent da8e810448
commit dc2b00442b
No known key found for this signature in database
GPG Key ID: 7729C7707F7E09D0
2 changed files with 16 additions and 16 deletions

View File

@ -28,6 +28,8 @@ encoding_rs = { version = "^0.8" }
flate2 = { version = "1.0.16", optional = true }
futures = "0.3.5"
imap-codec = { version = "1.0.0-beta", features = ["ext_condstore_qresync"], optional = true }
indexmap = { version = "^1.5", default-features = false, features = ["serde-1", ] }
isahc = { version = "^1.7.2", optional = true, default-features = false, features = ["http2", "json", "text-decoding"] }
libc = { version = "0.2.125", features = ["extra_traits",] }
@ -54,8 +56,6 @@ uuid = { version = "^1", features = ["serde", "v4", "v5"] }
xdg = "2.1.0"
xdg-utils = "^0.4.0"
imap-codec = { version = "1.0.0-beta", features = ["ext_condstore_qresync"], optional = true }
[dev-dependencies]
mailin-embedded = { version = "0.7", features = ["rtls"] }
stderrlog = "^0.5"

View File

@ -44,13 +44,11 @@ use std::{
};
use futures::io::{AsyncReadExt, AsyncWriteExt};
use imap_codec::{
CommandCodec,
encode::{Encoder, Fragment},
};
#[cfg(feature = "deflate_compression")]
use imap_codec::imap_types::extensions::compress::CompressionAlgorithm;
use imap_codec::imap_types::{
use imap_codec::{
encode::{Encoder, Fragment},
imap_types::{
auth::AuthMechanism,
command::{Command, CommandBody},
core::{AString, LiteralMode, NonEmptyVec, Tag},
@ -60,6 +58,8 @@ use imap_codec::imap_types::{
secret::Secret,
sequence::SequenceSet,
status::StatusDataItemName,
},
CommandCodec,
};
use native_tls::TlsConnector;
pub use smol::Async as AsyncWrapper;