From a92d77bf1f914e053397637d1fb70ed7aa459fbe Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 23 Nov 2021 12:38:34 +0100 Subject: [PATCH] bump version to 0.9.2-1, depend on proxmox-sys 0.2 Signed-off-by: Dietmar Maurer --- Cargo.toml | 4 ++-- debian/changelog | 6 ++++++ debian/control | 4 ++-- src/auth_state.rs | 12 +++++------- 4 files changed, 15 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 12ea041c..5f322a98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "proxmox-openid" -version = "0.9.1" +version = "0.9.2" authors = ["Dietmar Maurer "] edition = "2018" license = "AGPL-3" @@ -24,5 +24,5 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" url = "2.1" -proxmox = "0.15.0" proxmox-time = "1" +proxmox-sys = "0.2" diff --git a/debian/changelog b/debian/changelog index 8194f83b..f00e008e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +rust-proxmox-openid (0.9.2-1) stable; urgency=medium + + * depend on proxmox-sys 0.2 + + -- Proxmox Support Team Tue, 23 Nov 2021 12:35:41 +0100 + rust-proxmox-openid (0.9.1-1) unstable; urgency=medium * rebuild with openidconnect 0.2.1 diff --git a/debian/control b/debian/control index ba51c871..88873a25 100644 --- a/debian/control +++ b/debian/control @@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 12), librust-http-0.2+default-dev , librust-nix-0.19+default-dev (>= 0.19.1-~~) , librust-openidconnect-2+curl-dev (>= 2.1-~~) , - librust-proxmox-0.15+default-dev , + librust-proxmox-sys-0.2+default-dev , librust-proxmox-time-1+default-dev , librust-serde-1+default-dev , librust-serde-1+derive-dev , @@ -33,7 +33,7 @@ Depends: librust-http-0.2+default-dev, librust-nix-0.19+default-dev (>= 0.19.1-~~), librust-openidconnect-2+curl-dev (>= 2.1-~~), - librust-proxmox-0.15+default-dev, + librust-proxmox-sys-0.2+default-dev, librust-proxmox-time-1+default-dev, librust-serde-1+default-dev, librust-serde-1+derive-dev, diff --git a/src/auth_state.rs b/src/auth_state.rs index f7c7cd0f..7692ff31 100644 --- a/src/auth_state.rs +++ b/src/auth_state.rs @@ -3,13 +3,11 @@ use std::path::{Path, PathBuf}; use anyhow::{bail, Error}; use serde_json::{json, Value}; -use proxmox::tools::{ - fs::{ - replace_file, - open_file_locked, - file_get_json, - CreateOptions, - }, +use proxmox_sys::fs::{ + replace_file, + open_file_locked, + file_get_json, + CreateOptions, }; use proxmox_time::epoch_i64;