mirror of
https://github.com/sharkdp/fd
synced 2024-11-05 16:58:21 +00:00
Restructure according to Cargo doc
This commit is contained in:
parent
002983b15b
commit
0f5ede48d5
3 changed files with 3 additions and 17 deletions
|
@ -3,14 +3,6 @@ name = "fd"
|
|||
version = "0.3.0"
|
||||
authors = ["David Peter <mail@david-peter.de>"]
|
||||
|
||||
[[bin]]
|
||||
name = "fd"
|
||||
path = "src/bin/main.rs"
|
||||
|
||||
[lib]
|
||||
name = "fd"
|
||||
path = "src/fd.rs"
|
||||
|
||||
[dependencies]
|
||||
ansi_term = "0.9"
|
||||
getopts = "0.2"
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
extern crate ansi_term;
|
||||
extern crate getopts;
|
||||
extern crate isatty;
|
||||
extern crate regex;
|
||||
extern crate ignore;
|
||||
|
||||
pub mod lscolors;
|
|
@ -3,7 +3,8 @@ extern crate getopts;
|
|||
extern crate isatty;
|
||||
extern crate regex;
|
||||
extern crate ignore;
|
||||
extern crate fd;
|
||||
|
||||
pub mod lscolors;
|
||||
|
||||
use std::env;
|
||||
use std::error::Error;
|
||||
|
@ -17,7 +18,7 @@ use isatty::stdout_isatty;
|
|||
use regex::{Regex, RegexBuilder};
|
||||
use ignore::WalkBuilder;
|
||||
|
||||
use fd::lscolors::LsColors;
|
||||
use lscolors::LsColors;
|
||||
|
||||
/// Configuration options for *fd*.
|
||||
struct FdOptions {
|
Loading…
Reference in a new issue