]> git.proxmox.com Git - proxmox-backup.git/blobdiff - src/client/http_client.rs
depend on proxmox 0.1.13, use new tty helpers from there
[proxmox-backup.git] / src / client / http_client.rs
index 7472330ce679b05e427bcc1521de35161345271c..cc86fc6afc17dbad56c52169f2567e6069521d7e 100644 (file)
@@ -15,13 +15,16 @@ use serde_json::{json, Value};
 use percent_encoding::percent_encode;
 use xdg::BaseDirectories;
 
-use proxmox::tools::{
-    fs::{file_get_json, replace_file, CreateOptions},
+use proxmox::{
+    sys::linux::tty,
+    tools::{
+        fs::{file_get_json, replace_file, CreateOptions},
+    }
 };
 
 use super::pipe_to_stream::PipeToSendStream;
 use crate::tools::async_io::EitherStream;
-use crate::tools::{self, tty, BroadcastFuture, DEFAULT_ENCODE_SET};
+use crate::tools::{self, BroadcastFuture, DEFAULT_ENCODE_SET};
 
 #[derive(Clone)]
 pub struct AuthInfo {