mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 17:07:44 +03:00
remove extern crate from lib.rs
This commit is contained in:
parent
cae48808b5
commit
b91731ec7c
@ -5,6 +5,7 @@ mod init;
|
||||
|
||||
use self::init::init_prjfmt;
|
||||
use std::path::PathBuf;
|
||||
use structopt::StructOpt;
|
||||
|
||||
use log::info;
|
||||
|
||||
|
13
src/lib.rs
13
src/lib.rs
@ -2,18 +2,6 @@
|
||||
|
||||
#![deny(missing_docs)]
|
||||
|
||||
extern crate anyhow;
|
||||
extern crate console;
|
||||
extern crate glob;
|
||||
|
||||
#[macro_use]
|
||||
extern crate structopt;
|
||||
extern crate hex;
|
||||
extern crate log;
|
||||
extern crate serde;
|
||||
extern crate sha1;
|
||||
extern crate toml;
|
||||
|
||||
pub mod command;
|
||||
pub mod customlog;
|
||||
pub mod emoji;
|
||||
@ -24,6 +12,7 @@ use command::run_prjfmt_cli;
|
||||
use formatters::tool::run_prjfmt;
|
||||
use std::env;
|
||||
use std::path::{Path, PathBuf};
|
||||
use structopt::StructOpt;
|
||||
|
||||
use customlog::{CustomLogOutput, LogLevel};
|
||||
use xshell::cmd;
|
||||
|
Loading…
Reference in New Issue
Block a user