"Wolfgang Bumiller <w.bumiller@proxmox.com>",
"Proxmox Support Team <support@proxmox.com>",
]
-edition = "2018"
+edition = "2021"
license = "AGPL-3"
description = "Proxmox Backup"
homepage = "https://www.proxmox.com"
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]
//! Types for tape drive API
-use std::convert::TryFrom;
-
use anyhow::{bail, Error};
use serde::{Deserialize, Serialize};
//! 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};
name = "pbs-buildcfg"
version = "2.3.1"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "macros used for pbs related paths such as configdir and rundir"
build = "build.rs"
name = "pbs-client"
version = "0.1.0"
authors = ["Wolfgang Bumiller <w.bumiller@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "The main proxmox backup client crate"
[dependencies]
-use std::convert::TryFrom;
use std::fmt;
use anyhow::{format_err, Error};
//! Code for extraction of pxar contents onto the file system.
use std::collections::HashMap;
-use std::convert::TryFrom;
use std::ffi::{CStr, CString, OsStr, OsString};
use std::io;
use std::os::unix::ffi::OsStrExt;
//! Some common methods used within the pxar code.
-use std::convert::TryFrom;
use std::ffi::OsStr;
use std::os::unix::ffi::OsStrExt;
use std::path::Path;
-use std::convert::TryFrom;
use std::io::Read;
use std::os::unix::io::{FromRawFd, RawFd};
use std::path::PathBuf;
name = "pbs-config"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "Configuration file management for PBS"
[dependencies]
order: Vec<NetworkOrderEntry>,
}
-use std::convert::TryFrom;
-
impl TryFrom<NetworkConfig> for String {
type Error = Error;
name = "pbs-datastore"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "low level pbs data storage access"
[dependencies]
-use std::convert::TryFrom;
use std::fmt;
use std::os::unix::io::RawFd;
use std::path::PathBuf;
-use std::convert::TryFrom;
use std::ffi::{CStr, CString, OsStr};
use std::fmt;
use std::io::{Read, Seek, SeekFrom, Write};
-use std::convert::TryInto;
use std::io::Write;
use anyhow::{bail, Error};
-use std::convert::TryFrom;
use std::path::Path;
use anyhow::{bail, format_err, Error};
name = "pbs-fuse-loop"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "fuse and loop device helpers"
[dependencies]
//! Asynchronous fuse implementation.
use std::collections::BTreeMap;
-use std::convert::TryFrom;
use std::ffi::{OsStr, OsString};
use std::future::Future;
use std::io;
name = "pbs-tape"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "LTO tape support"
[dependencies]
/// - support tape alert flags
/// - support volume statistics
/// - read cartridge memory
-use std::convert::TryInto;
-
use anyhow::{bail, Error};
use serde_json::Value;
-use std::convert::TryFrom;
-use std::convert::TryInto;
use std::fs::{File, OpenOptions};
use std::os::unix::fs::OpenOptionsExt;
use std::os::unix::io::AsRawFd;
use std::collections::HashMap;
-use std::convert::TryInto;
use std::os::unix::io::AsRawFd;
use anyhow::{bail, format_err, Error};
name = "pbs-tools"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "common tools used throughout pbs"
# This must not depend on any subcrates more closely related to pbs itself.
name = "proxmox-backup-banner"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
[dependencies]
anyhow = "1"
name = "proxmox-backup-client"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
[dependencies]
anyhow = "1.0"
-use std::convert::TryFrom;
use std::path::PathBuf;
use anyhow::{bail, format_err, Error};
name = "proxmox-file-restore"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
[dependencies]
anyhow = "1.0"
name = "proxmox-restore-daemon"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
description = "Proxmox Restore Daemon"
[dependencies]
name = "proxmox-rrd"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
license = "AGPL-3"
description = "Simple RRD database implementation."
name = "pxar-bin"
version = "0.1.0"
authors = ["Proxmox Support Team <support@proxmox.com>"]
-edition = "2018"
+edition = "2021"
[[bin]]
name = "pxar"
//! OpenID redirect/login API
-use std::convert::TryFrom;
-
use anyhow::{bail, format_err, Error};
use serde_json::{json, Value};
-use std::convert::TryFrom;
use std::sync::Arc;
use std::time::Duration;
//! Sync datastore from remote server
-use std::convert::TryFrom;
-
use anyhow::{format_err, Error};
use futures::{future::FutureExt, select};
use std::collections::{BTreeMap, HashMap, HashSet};
-use std::convert::TryFrom;
use std::ffi::OsStr;
use std::io::{Seek, SeekFrom};
use std::path::{Path, PathBuf};
//! Sync datastore from remote server
use std::collections::{HashMap, HashSet};
-use std::convert::TryFrom;
use std::io::{Seek, SeekFrom};
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::{Arc, Mutex};
//!
//! - unability to detect EOT (you just get EIO)
-use std::convert::TryInto;
use std::fs::File;
use std::os::unix::io::{AsRawFd, FromRawFd, RawFd};
use std::collections::{HashMap, HashSet};
-use std::convert::TryFrom;
use std::fs::File;
use std::io::{BufReader, Read, Seek, SeekFrom, Write};
use std::os::unix::io::AsRawFd;
//! Traffic control implementation
use std::collections::HashMap;
-use std::convert::TryInto;
use std::net::{IpAddr, Ipv4Addr, SocketAddr};
use std::sync::{Arc, Mutex};
use std::time::Instant;