schema: bump edition to 2021
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
ae0ee80f43
commit
706d966c87
@ -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"
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user