Switch from log to tracing

This commit is contained in:
Dirkjan Ochtman 2021-12-08 09:43:32 +01:00 committed by masalachai
parent 34ee9de0ec
commit 57d60807d8
2 changed files with 2 additions and 2 deletions

View File

@ -13,13 +13,13 @@ repository = "https://github.com/masalachai/epp-client"
epp-client-macros = { version = "0.1", path = "../epp-client-macros" }
celes = "2.1"
chrono = "0.4"
log = "0.4"
quick-xml = { version = "0.22", features = [ "serialize" ] }
rustls = "0.20"
rustls-pemfile = "0.2"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.0", features = [ "full" ] }
tokio-rustls = "0.23"
tracing = "0.1.29"
webpki-roots = "0.22.1"
[dev-dependencies]

View File

@ -7,12 +7,12 @@ use std::sync::Arc;
use std::{error::Error, io as stdio, net::ToSocketAddrs};
use std::{io, str, u32};
use log::{debug, info, warn};
use rustls::{Certificate, PrivateKey};
use rustls::{OwnedTrustAnchor, RootCertStore};
use rustls_pemfile;
use tokio::{io::AsyncReadExt, io::AsyncWriteExt, net::TcpStream};
use tokio_rustls::{client::TlsStream, rustls::ClientConfig, TlsConnector};
use tracing::{debug, info, warn};
use crate::config::RegistryConfig;
use crate::error;