From c8a0ba04ca897df8756a8b653b7b3c71e4a0eec6 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 24 Oct 2023 13:52:15 +0200 Subject: [PATCH] sys: depreacate PTY module, moves to termproxy directly As termproxy only used this module from the huge proxmox-sys crate, and this module was also only used here, it makes sense to move it over there (and dropping proxmox-sys halved build-time from 8.5 s to 4.2 s). Signed-off-by: Thomas Lamprecht --- proxmox-sys/src/linux/pty.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox-sys/src/linux/pty.rs b/proxmox-sys/src/linux/pty.rs index 35f19bce..dd607439 100644 --- a/proxmox-sys/src/linux/pty.rs +++ b/proxmox-sys/src/linux/pty.rs @@ -48,6 +48,7 @@ ioctl_write_ptr_bad!(set_size, libc::TIOCSWINSZ, nix::pty::Winsize); /// Ok(()) /// } /// ``` +#[deprecated(note="moved to termproxy directly, only used there. Holler if you run into this.")] pub struct PTY { primary: PtyMaster, }