1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 03:57:44 +00:00

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
commit 02f7d80aca
11 changed files with 0 additions and 25 deletions

View file

@ -8,7 +8,6 @@ name = "uu_expr"
path = "expr.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }

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;

View file

@ -7,10 +7,6 @@ authors = []
name = "uu_false"
path = "false.rs"
[dependencies]
getopts = "*"
libc = "*"
[[bin]]
name = "false"
path = "main.rs"

View file

@ -8,7 +8,6 @@ name = "uu_head"
path = "head.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }

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;

View file

@ -7,9 +7,6 @@ authors = []
name = "uu_id"
path = "id.rs"
[dependencies]
getopts = "*"
[dependencies.uucore]
path = "../uucore"
default-features = false

View file

@ -8,7 +8,6 @@ name = "uu_logname"
path = "logname.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }

View file

@ -8,7 +8,6 @@ name = "uu_test"
path = "test.rs"
[dependencies]
getopts = "*"
libc = "*"
uucore = { path="../uucore" }

View file

@ -7,10 +7,6 @@ authors = []
name = "uu_true"
path = "true.rs"
[dependencies]
getopts = "*"
libc = "*"
[[bin]]
name = "true"
path = "main.rs"

View file

@ -7,9 +7,6 @@ authors = []
name = "uu_uname"
path = "uname.rs"
[dependencies]
getopts = "*"
[dependencies.uucore]
path = "../uucore"
default-features = false

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;