Switch from log to tracing
This commit is contained in:
parent
34ee9de0ec
commit
57d60807d8
|
@ -13,13 +13,13 @@ repository = "https://github.com/masalachai/epp-client"
|
||||||
epp-client-macros = { version = "0.1", path = "../epp-client-macros" }
|
epp-client-macros = { version = "0.1", path = "../epp-client-macros" }
|
||||||
celes = "2.1"
|
celes = "2.1"
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
log = "0.4"
|
|
||||||
quick-xml = { version = "0.22", features = [ "serialize" ] }
|
quick-xml = { version = "0.22", features = [ "serialize" ] }
|
||||||
rustls = "0.20"
|
rustls = "0.20"
|
||||||
rustls-pemfile = "0.2"
|
rustls-pemfile = "0.2"
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
tokio = { version = "1.0", features = [ "full" ] }
|
tokio = { version = "1.0", features = [ "full" ] }
|
||||||
tokio-rustls = "0.23"
|
tokio-rustls = "0.23"
|
||||||
|
tracing = "0.1.29"
|
||||||
webpki-roots = "0.22.1"
|
webpki-roots = "0.22.1"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|
|
@ -7,12 +7,12 @@ use std::sync::Arc;
|
||||||
use std::{error::Error, io as stdio, net::ToSocketAddrs};
|
use std::{error::Error, io as stdio, net::ToSocketAddrs};
|
||||||
use std::{io, str, u32};
|
use std::{io, str, u32};
|
||||||
|
|
||||||
use log::{debug, info, warn};
|
|
||||||
use rustls::{Certificate, PrivateKey};
|
use rustls::{Certificate, PrivateKey};
|
||||||
use rustls::{OwnedTrustAnchor, RootCertStore};
|
use rustls::{OwnedTrustAnchor, RootCertStore};
|
||||||
use rustls_pemfile;
|
use rustls_pemfile;
|
||||||
use tokio::{io::AsyncReadExt, io::AsyncWriteExt, net::TcpStream};
|
use tokio::{io::AsyncReadExt, io::AsyncWriteExt, net::TcpStream};
|
||||||
use tokio_rustls::{client::TlsStream, rustls::ClientConfig, TlsConnector};
|
use tokio_rustls::{client::TlsStream, rustls::ClientConfig, TlsConnector};
|
||||||
|
use tracing::{debug, info, warn};
|
||||||
|
|
||||||
use crate::config::RegistryConfig;
|
use crate::config::RegistryConfig;
|
||||||
use crate::error;
|
use crate::error;
|
||||||
|
|
Loading…
Reference in New Issue