Skip to content

Commit

Permalink
Use externally sourced shell-escape
Browse files Browse the repository at this point in the history
Closes #3374
  • Loading branch information
sfackler committed Dec 30, 2016
1 parent 740f9c0 commit d105e75
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 119 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ src/registry/Cargo.lock
rustc
__pycache__
.idea/
*.iml
7 changes: 7 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ psapi-sys = "0.1"
regex = "0.1"
rustc-serialize = "0.3"
semver = "0.5.0"
shell-escape = "0.1"
tar = { version = "0.4", default-features = false }
tempdir = "0.3"
term = "0.4.4"
Expand Down
1 change: 1 addition & 0 deletions src/cargo/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ extern crate num_cpus;
extern crate regex;
extern crate rustc_serialize;
extern crate semver;
extern crate shell_escape;
extern crate tar;
extern crate tempdir;
extern crate term;
Expand Down
1 change: 0 additions & 1 deletion src/cargo/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ mod cfg;
mod dependency_queue;
mod rustc;
mod sha256;
mod shell_escape;
mod vcs;
mod lazy_cell;
mod flock;
Expand Down
2 changes: 1 addition & 1 deletion src/cargo/util/process_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use std::path::Path;
use std::process::{Command, Stdio, Output};

use util::{CargoResult, ProcessError, process_error, read2};
use util::shell_escape::escape;
use shell_escape::escape;

#[derive(Clone, PartialEq, Debug)]
pub struct ProcessBuilder {
Expand Down
117 changes: 0 additions & 117 deletions src/cargo/util/shell_escape.rs

This file was deleted.

0 comments on commit d105e75

Please sign in to comment.