std::convert::{TryFrom, TryInto} are now part of the prelude.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
"Fabian Ebner <f.ebner@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
]
-edition = "2018"
+edition = "2021"
license = "AGPL-3"
description = "Proxmox library for APT"
homepage = "https://www.proxmox.com"
-edition = "2018"
+edition = "2021"
-use std::convert::{TryFrom, TryInto};
use std::fmt::Display;
use std::path::{Path, PathBuf};
-use std::convert::TryInto;
use std::io::BufRead;
use std::iter::Iterator;
-use std::convert::TryInto;
use std::io::BufRead;
use std::iter::Iterator;
-use std::convert::{TryFrom, TryInto};
use std::fmt::Display;
use std::io::{BufRead, BufReader};
-use std::convert::TryFrom;
use std::fmt::Display;
use std::io::{BufRead, BufReader, Write};
use std::path::PathBuf;
-use std::convert::TryFrom;
use std::fmt::Display;
use anyhow::{bail, Error};