Add this to your Cargo.toml:
Cargo.toml
```toml [dependencies]
pty = "0.1.0" ```
and this to your crate root:
rust extern crate pty;