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 <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-10-24 13:52:15 +02:00
parent c1c062bf56
commit c8a0ba04ca

View File

@ -48,6 +48,7 @@ ioctl_write_ptr_bad!(set_size, libc::TIOCSWINSZ, nix::pty::Winsize);
/// Ok(()) /// Ok(())
/// } /// }
/// ``` /// ```
#[deprecated(note="moved to termproxy directly, only used there. Holler if you run into this.")]
pub struct PTY { pub struct PTY {
primary: PtyMaster, primary: PtyMaster,
} }