Update edition to 2021
- Remove TryFrom/Into and FromIterator imports - Prevent impl_validator_using_provider macro in sasl crate from constructing trait object Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
c8f312e89d
commit
4089891f6c
94 changed files with 8 additions and 100 deletions
|
|
@ -4,7 +4,6 @@ use sasl::client::Mechanism;
|
|||
use sasl::common::scram::{Sha1, Sha256};
|
||||
use sasl::common::Credentials;
|
||||
use std::collections::HashSet;
|
||||
use std::convert::TryFrom;
|
||||
use std::str::FromStr;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use xmpp_parsers::sasl::{Auth, Challenge, Failure, Mechanism as XMPPMechanism, Response, Success};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
use futures::stream::StreamExt;
|
||||
use std::convert::TryFrom;
|
||||
use std::marker::Unpin;
|
||||
use tokio::io::{AsyncRead, AsyncWrite};
|
||||
use xmpp_parsers::bind::{BindQuery, BindResponse};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ use futures::{sink::SinkExt, stream::StreamExt};
|
|||
|
||||
#[cfg(all(feature = "tls-rust", not(feature = "tls-native")))]
|
||||
use {
|
||||
std::convert::TryFrom,
|
||||
std::sync::Arc,
|
||||
tokio_rustls::{
|
||||
client::TlsStream,
|
||||
|
|
|
|||
Loading…
Reference in a new issue