Merge pull request #995 from antiagainst/build-dependency

Remove unnecessary dependencies of getopts & libc for utilities.
This commit is contained in:
mpkh
2016-11-18 22:53:42 +04:00
committed by GitHub
11 changed files with 0 additions and 25 deletions
-1
View File
@@ -8,7 +8,6 @@ name = "uu_expr"
path = "expr.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }
-3
View File
@@ -9,9 +9,6 @@
* file that was distributed with this source code.
*/
extern crate getopts;
extern crate libc;
#[macro_use]
extern crate uucore;
-4
View File
@@ -7,10 +7,6 @@ authors = []
name = "uu_false"
path = "false.rs"
[dependencies]
getopts = "*"
libc = "*"
[[bin]]
name = "false"
path = "main.rs"
-1
View File
@@ -8,7 +8,6 @@ name = "uu_head"
path = "head.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }
-2
View File
@@ -11,8 +11,6 @@
* Synced with: https://raw.github.com/avsm/src/master/usr.bin/head/head.c
*/
extern crate getopts;
#[macro_use]
extern crate uucore;
-3
View File
@@ -7,9 +7,6 @@ authors = []
name = "uu_id"
path = "id.rs"
[dependencies]
getopts = "*"
[dependencies.uucore]
path = "../uucore"
default-features = false
-1
View File
@@ -8,7 +8,6 @@ name = "uu_logname"
path = "logname.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }
-1
View File
@@ -8,7 +8,6 @@ name = "uu_test"
path = "test.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }
-4
View File
@@ -7,10 +7,6 @@ authors = []
name = "uu_true"
path = "true.rs"
[dependencies]
getopts = "*"
libc = "*"
[[bin]]
name = "true"
path = "main.rs"
-3
View File
@@ -7,9 +7,6 @@ authors = []
name = "uu_uname"
path = "uname.rs"
[dependencies]
getopts = "*"
[dependencies.uucore]
path = "../uucore"
default-features = false
-2
View File
@@ -11,8 +11,6 @@
// last synced with: uname (GNU coreutils) 8.21
extern crate getopts;
#[macro_use]
extern crate uucore;
use uucore::utsname::Uname;