#terminal #safe #rustix-openpty #openpty

rustix-openpty

Safe Rust bindings to openpty and related functions

3 unstable releases

0.2.0 Mar 6, 2025
0.1.1 Sep 21, 2023
0.1.0 Aug 22, 2023

#111 in Unix APIs

Download history 3016/week @ 2024-12-20 3148/week @ 2024-12-27 4927/week @ 2025-01-03 5521/week @ 2025-01-10 4315/week @ 2025-01-17 4184/week @ 2025-01-24 4615/week @ 2025-01-31 4669/week @ 2025-02-07 4600/week @ 2025-02-14 5341/week @ 2025-02-21 5303/week @ 2025-02-28 5186/week @ 2025-03-07 5574/week @ 2025-03-14 5228/week @ 2025-03-21 5313/week @ 2025-03-28 5866/week @ 2025-04-04

23,045 downloads per month
Used in 23 crates (5 directly)

Apache-2.0…

17KB
219 lines

rustix-openpty

Safe Rust bindings to `openpty` and related functions

Github Actions CI Status zulip chat crates.io page docs.rs docs

rustix-openpty is a wrapper around rustix::pty on Linux and libc::openpty on other platforms.

Minimum Supported Rust Version (MSRV)

This crate currently works on the version of Rust on Debian stable, which is currently Rust 1.63. This policy may change in the future, in minor version releases, so users using a fixed version of Rust should pin to a specific version of this crate.

Dependencies

~0–8.5MB
~90K SLoC