From 75f466c1ce552f693e8b024ec23356e01979bdd1 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 12 Dec 2022 13:59:45 +0100 Subject: [PATCH] Update to 2021 edition --- Cargo.toml | 2 +- src/client.rs | 1 - src/connection.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d0bc425..1a3d809 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "epp-client" version = "0.6.0" -edition = "2018" +edition = "2021" license = "MIT" description = "EPP (Extensible Provisioning Protocol) Client Library for Domain Registration and Management" repository = "https://github.com/masalachai/epp-client" diff --git a/src/client.rs b/src/client.rs index a63ce6a..676aaca 100644 --- a/src/client.rs +++ b/src/client.rs @@ -1,4 +1,3 @@ -use std::convert::TryInto; use std::io; use std::sync::Arc; use std::time::Duration; diff --git a/src/connection.rs b/src/connection.rs index 4a91b0f..4ceaa57 100644 --- a/src/connection.rs +++ b/src/connection.rs @@ -1,6 +1,5 @@ //! Manages registry connections and reading/writing to them -use std::convert::TryInto; use std::future::Future; use std::pin::Pin; use std::task::{Context, Poll};