schema: bump edition to 2021

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2022-02-14 09:45:38 +01:00
parent ae0ee80f43
commit 706d966c87
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
name = "proxmox-schema"
version = "1.2.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
edition = "2018"
edition = "2021"
license = "AGPL-3"
description = "proxmox api schema and validation"

View File

@ -279,7 +279,6 @@ mod upid_impl {
// Copied as this is the only `proxmox-time` dependency in this crate
// and this crate has MUCH fewer dependencies without it
fn epoch_i64() -> i64 {
use std::convert::TryFrom;
use std::time::{SystemTime, UNIX_EPOCH};
let now = SystemTime::now();