Skip to content

Commit

Permalink
cut v0.3.1 (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanpailes authored Apr 2, 2024
1 parent e5b17fa commit 7c867a3
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "shpool_pty"
version = "0.3.0"
version = "0.3.1"
authors = ["Hika Hibariya <[email protected]>", "Ethan Pailes <[email protected]>"]
repository = "https://github.com/ethanpailes/pty-rs"
homepage = "https://github.com/ethanpailes/pty-rs"
repository = "https://github.com/shell-pool/shpool_pty"
homepage = "https://github.com/shell-pool/shpool_pty"
license = "MIT"
description = "Fork with new pseudo-terminal (PTY)"
keywords = ["pty", "tty", "pseudo", "terminal", "fork"]
Expand Down
2 changes: 0 additions & 2 deletions src/descriptor/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
mod err;

use libc;

pub use self::err::DescriptorError;
use std::ffi::CStr;
use std::os::unix::io::RawFd;
Expand Down
1 change: 0 additions & 1 deletion src/fork/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use descriptor::Descriptor;
pub use self::err::{ForkError, Result};
pub use self::pty::{Master, MasterError};
pub use self::pty::{Slave, SlaveError};
use libc;
use std::ffi::CStr;
use std::ffi::CString;

Expand Down
2 changes: 0 additions & 2 deletions src/fork/pty/master/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
mod err;

use libc;

use descriptor::Descriptor;

pub use self::err::{MasterError, Result};
Expand Down
1 change: 0 additions & 1 deletion src/fork/pty/slave/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
mod err;

use descriptor::Descriptor;
use libc;

pub use self::err::{Result, SlaveError};
use std::ffi::CStr;
Expand Down
1 change: 0 additions & 1 deletion tests/it_can_read_write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use self::shpool_pty::prelude::*;

use std::io::prelude::*;
use std::process::Command;
use std::string::String;

fn read_line(master: &mut Master) -> String {
let mut buf = [0];
Expand Down
1 change: 0 additions & 1 deletion tests/it_fork_with_new_pty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use self::shpool_pty::prelude::*;

use std::io::prelude::*;
use std::process::{Command, Stdio};
use std::string::String;

#[test]
fn it_fork_with_new_pty() {
Expand Down

0 comments on commit 7c867a3

Please sign in to comment.