mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
change ~ make all sub-crates independent
This commit is contained in:
parent
68bea8d81d
commit
db2e950918
305 changed files with 1319 additions and 1517 deletions
|
@ -1,11 +1,11 @@
|
|||
use common::util::*;
|
||||
|
||||
extern crate uu_chown;
|
||||
pub use self::uu_chown::*;
|
||||
extern crate chown;
|
||||
// pub use self::uu_chown::*;
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_passgrp {
|
||||
use super::uu_chown::entries::{gid2grp, grp2gid, uid2usr, usr2uid};
|
||||
use super::chown::entries::{gid2grp, grp2gid, uid2usr, usr2uid};
|
||||
|
||||
#[test]
|
||||
fn test_usr2uid() {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
extern crate uu_dircolors;
|
||||
use self::uu_dircolors::{guess_syntax, OutputFmt, StrUtils};
|
||||
|
||||
use common::util::*;
|
||||
|
||||
extern crate dircolors;
|
||||
use self::dircolors::{guess_syntax, OutputFmt, StrUtils};
|
||||
|
||||
#[test]
|
||||
fn test_shell_syntax() {
|
||||
use std::env;
|
||||
|
|
|
@ -4,8 +4,8 @@ use common::util::*;
|
|||
|
||||
use self::uucore::entries::{Locate, Passwd};
|
||||
|
||||
extern crate uu_pinky;
|
||||
pub use self::uu_pinky::*;
|
||||
extern crate pinky;
|
||||
pub use self::pinky::*;
|
||||
|
||||
#[test]
|
||||
fn test_capitalize() {
|
||||
|
|
|
@ -2,8 +2,8 @@ extern crate regex;
|
|||
|
||||
use common::util::*;
|
||||
|
||||
extern crate uu_stat;
|
||||
pub use self::uu_stat::*;
|
||||
extern crate stat;
|
||||
pub use self::stat::*;
|
||||
|
||||
#[cfg(test)]
|
||||
mod test_fsext {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
extern crate uu_tail;
|
||||
extern crate tail;
|
||||
|
||||
use self::uu_tail::parse_size;
|
||||
use self::tail::parse_size;
|
||||
use common::util::*;
|
||||
use std::char::from_digit;
|
||||
use std::io::Write;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
extern crate uu_touch;
|
||||
use self::uu_touch::filetime::{self, FileTime};
|
||||
extern crate touch;
|
||||
use self::touch::filetime::{self, FileTime};
|
||||
|
||||
extern crate time;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue