tree-wide: bump edition to 2021

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-12-06 11:19:41 +01:00
parent d70ae30a43
commit 378b763408
3 changed files with 1 additions and 4 deletions

View File

@ -2,7 +2,7 @@
name = "pbs-api-types"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
edition = "2021"
description = "general API type helpers for PBS"
[dependencies]

View File

@ -1,6 +1,4 @@
//! Types for tape drive API
use std::convert::TryFrom;
use anyhow::{bail, Error};
use serde::{Deserialize, Serialize};

View File

@ -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};