Merge pull request #1673 from sylvestre/extern-crate

Remove most of the 'extern crate'
This commit is contained in:
Sylvestre Ledru
2020-12-31 17:54:16 +01:00
committed by GitHub
88 changed files with 0 additions and 251 deletions
-3
View File
@@ -5,9 +5,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
extern crate textwrap;
extern crate uucore;
use std::cmp;
use std::collections::hash_map::HashMap;
use std::ffi::OsString;
-1
View File
@@ -6,7 +6,6 @@
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
extern crate platform_info;
#[macro_use]
extern crate uucore;
-4
View File
@@ -7,10 +7,6 @@
// spell-checker:ignore (ToDO) Chmoder cmode fmode fperm fref ugoa RFILE RFILE's
#[cfg(unix)]
extern crate libc;
extern crate walkdir;
#[macro_use]
extern crate uucore;
-2
View File
@@ -14,10 +14,8 @@ use uucore::fs::resolve_relative_path;
use uucore::libc::{gid_t, uid_t};
use uucore::perms::{wrap_chown, Verbosity};
extern crate clap;
use clap::{App, Arg};
extern crate walkdir;
use walkdir::WalkDir;
use std::fs::{self, Metadata};
-2
View File
@@ -8,8 +8,6 @@
// spell-checker:ignore (ToDO) NEWROOT Userspec pstatus
extern crate getopts;
#[macro_use]
extern crate uucore;
use uucore::entries;
-2
View File
@@ -7,8 +7,6 @@
// spell-checker:ignore (ToDO) delim mkdelim
extern crate getopts;
#[macro_use]
extern crate uucore;
-8
View File
@@ -10,22 +10,14 @@
// spell-checker:ignore (ToDO) ficlone linkgs lstat nlink nlinks pathbuf reflink strs xattrs
extern crate clap;
extern crate filetime;
#[cfg(target_os = "linux")]
#[macro_use]
extern crate ioctl_sys;
extern crate libc;
#[macro_use]
extern crate quick_error;
#[macro_use]
extern crate uucore;
extern crate walkdir;
#[cfg(unix)]
extern crate xattr;
#[cfg(windows)]
extern crate winapi;
#[cfg(windows)]
use winapi::um::fileapi::CreateFileW;
#[cfg(windows)]
-2
View File
@@ -4,8 +4,6 @@
extern crate failure;
#[macro_use]
extern crate uucore;
extern crate getopts;
extern crate regex;
use getopts::Matches;
use regex::Regex;
use std::cmp::Ordering;
-3
View File
@@ -9,9 +9,6 @@
// spell-checker:ignore (format) MMDDhhmm
// spell-checker:ignore (ToDO) DATEFILE
extern crate chrono;
extern crate clap;
#[macro_use]
extern crate uucore;
-6
View File
@@ -9,17 +9,11 @@
// spell-checker:ignore (ToDO) mountinfo mtab BLOCKSIZE getmntinfo fobj mptr noatime Iused overmounted
// spell-checker:ignore (libc/fs) asyncreads asyncwrites autofs bavail bfree bsize charspare cifs debugfs devfs devpts ffree frsize fsid fstypename fusectl inode inodes iosize kernfs mntbufp mntfromname mntonname mqueue namemax pipefs smbfs statfs statvfs subfs syncreads syncwrites sysfs wcslen
extern crate clap;
extern crate libc;
extern crate number_prefix;
#[macro_use]
extern crate uucore;
use clap::{App, Arg};
#[cfg(windows)]
extern crate winapi;
#[cfg(windows)]
use winapi::um::errhandlingapi::GetLastError;
#[cfg(windows)]
-2
View File
@@ -7,8 +7,6 @@
// spell-checker:ignore (ToDO) clrtoeol dircolors eightbit endcode fnmatch leftcode multihardlink rightcode setenv sgid suid
extern crate glob;
#[macro_use]
extern crate uucore;
-2
View File
@@ -7,8 +7,6 @@
// spell-checker:ignore (ToDO) BLOCKSIZE inode inodes ment strs
extern crate time;
#[macro_use]
extern crate uucore;
-3
View File
@@ -9,9 +9,6 @@
// spell-checker:ignore (ToDO) ctype cwidth iflag nbytes nspaces nums tspaces uflag
extern crate getopts;
extern crate unicode_width;
#[macro_use]
extern crate uucore;
-1
View File
@@ -5,7 +5,6 @@
//* For the full copyright and license information, please view the LICENSE
//* file that was distributed with this source code.
extern crate onig;
#[macro_use]
extern crate uucore;
-2
View File
@@ -5,8 +5,6 @@
// * For the full copyright and license information, please view the LICENSE file
// * that was distributed with this source code.
extern crate rand;
use smallvec::SmallVec;
use std::cell::RefCell;
use std::fmt;
-2
View File
@@ -7,8 +7,6 @@
// spell-checker:ignore (ToDO) PSKIP linebreak ostream parasplit tabwidth xanti xprefix
extern crate unicode_width;
#[macro_use]
extern crate uucore;
-1
View File
@@ -12,7 +12,6 @@
extern crate uucore;
use uucore::entries::{get_groups, gid2grp, Locate, Passwd};
extern crate clap;
use clap::{App, Arg};
static VERSION: &str = env!("CARGO_PKG_VERSION");
-8
View File
@@ -11,14 +11,6 @@
#[macro_use]
extern crate clap;
extern crate blake2_rfc;
extern crate hex;
extern crate md5;
extern crate regex;
extern crate regex_syntax;
extern crate sha1;
extern crate sha2;
extern crate sha3;
#[macro_use]
extern crate uucore;
-2
View File
@@ -7,8 +7,6 @@
// spell-checker:ignore (ToDO) gethostid
extern crate libc;
#[macro_use]
extern crate uucore;
-6
View File
@@ -7,12 +7,6 @@
// spell-checker:ignore (ToDO) MAKEWORD addrs hashset
extern crate clap;
extern crate hostname;
extern crate libc;
#[cfg(windows)]
extern crate winapi;
#[macro_use]
extern crate uucore;

Some files were not shown because too many files have changed in this diff Show More