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

View File

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