mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Remove unnecessary dependencies on libc in various utilities.
This commit is contained in:
@@ -8,7 +8,6 @@ name = "uu_basename"
|
||||
path = "basename.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_cut"
|
||||
path = "cut.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ path = "dircolors.rs"
|
||||
|
||||
[dependencies]
|
||||
glob = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
// file that was distributed with this source code.
|
||||
//
|
||||
|
||||
extern crate libc;
|
||||
extern crate glob;
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_du"
|
||||
path = "du.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
time = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
extern crate libc;
|
||||
extern crate time;
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_echo"
|
||||
path = "echo.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_expand"
|
||||
path = "expand.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
unicode-width = "*"
|
||||
getopts = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
extern crate unicode_width;
|
||||
extern crate getopts;
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_factor"
|
||||
path = "factor.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
rand = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
* that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
extern crate rand;
|
||||
|
||||
#[macro_use]
|
||||
|
||||
@@ -8,7 +8,6 @@ name = "uu_fold"
|
||||
path = "fold.rs"
|
||||
|
||||
[dependencies]
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -9,8 +9,6 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@ path = "mktemp.rs"
|
||||
[dependencies]
|
||||
uucore = { path="../uucore" }
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
rand = "0.3"
|
||||
tempfile = "*"
|
||||
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
//
|
||||
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
extern crate tempfile;
|
||||
extern crate rand;
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ path = "paste.rs"
|
||||
|
||||
[dependencies]
|
||||
getopts = "*"
|
||||
libc = "*"
|
||||
uucore = { path="../uucore" }
|
||||
|
||||
[[bin]]
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
*/
|
||||
|
||||
extern crate getopts;
|
||||
extern crate libc;
|
||||
|
||||
#[macro_use]
|
||||
extern crate uucore;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user