mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Remove unnecessary dependencies of getopts & libc for utilities.
This commit is contained in:
parent
4f5e8f4566
commit
aaa7274b63
11 changed files with 0 additions and 25 deletions
|
@ -8,7 +8,6 @@ name = "uu_expr"
|
|||
path = "expr.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
|
|
|
@ -7,10 +7,6 @@ authors = []
|
|||
name = "uu_false"
|
||||
path = "false.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
|
||||
[[bin]]
|
||||
name = "false"
|
||||
path = "main.rs"
|
||||
|
|
|
@ -8,7 +8,6 @@ name = "uu_head"
|
|||
path = "head.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -7,9 +7,6 @@ authors = []
|
|||
name = "uu_id"
|
||||
path = "id.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
|
||||
[dependencies.uucore]
|
||||
path = "../uucore"
|
||||
default-features = false
|
||||
|
|
|
@ -8,7 +8,6 @@ name = "uu_logname"
|
|||
path = "logname.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ name = "uu_test"
|
|||
path = "test.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
|
|
@ -7,10 +7,6 @@ authors = []
|
|||
name = "uu_true"
|
||||
path = "true.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
|
||||
[[bin]]
|
||||
name = "true"
|
||||
path = "main.rs"
|
||||
|
|
|
@ -7,9 +7,6 @@ authors = []
|
|||
name = "uu_uname"
|
||||
path = "uname.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
|
||||
[dependencies.uucore]
|
||||
path = "../uucore"
|
||||
default-features = false
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
|
||||
// last synced with: uname (GNU coreutils) 8.21
|
||||
|
||||
extern crate getopts;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
use uucore::utsname::Uname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue