From 57d60807d81c39670428f1daea013daa50f80618 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 8 Dec 2021 09:43:32 +0100 Subject: [PATCH] Switch from log to tracing --- epp-client/Cargo.toml | 2 +- epp-client/src/registry.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/epp-client/Cargo.toml b/epp-client/Cargo.toml index 51b0fce..907f7ba 100644 --- a/epp-client/Cargo.toml +++ b/epp-client/Cargo.toml @@ -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] diff --git a/epp-client/src/registry.rs b/epp-client/src/registry.rs index 3bdefff..1ad0565 100644 --- a/epp-client/src/registry.rs +++ b/epp-client/src/registry.rs @@ -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;