diff --git a/pbs-api-types/Cargo.toml b/pbs-api-types/Cargo.toml index 8f897d5d..61d37d77 100644 --- a/pbs-api-types/Cargo.toml +++ b/pbs-api-types/Cargo.toml @@ -2,7 +2,7 @@ name = "pbs-api-types" version = "0.1.0" authors = ["Proxmox Support Team "] -edition = "2018" +edition = "2021" description = "general API type helpers for PBS" [dependencies] diff --git a/pbs-api-types/src/tape/drive.rs b/pbs-api-types/src/tape/drive.rs index c8cb077c..d841505a 100644 --- a/pbs-api-types/src/tape/drive.rs +++ b/pbs-api-types/src/tape/drive.rs @@ -1,6 +1,4 @@ //! Types for tape drive API -use std::convert::TryFrom; - use anyhow::{bail, Error}; use serde::{Deserialize, Serialize}; diff --git a/pbs-api-types/src/userid.rs b/pbs-api-types/src/userid.rs index 996e96e5..052e66ed 100644 --- a/pbs-api-types/src/userid.rs +++ b/pbs-api-types/src/userid.rs @@ -22,7 +22,6 @@ //! compared with each other, as in those cases the comparison has meaning. use std::borrow::Borrow; -use std::convert::TryFrom; use std::fmt; use anyhow::{bail, format_err, Error};