remove extern crate from lib.rs

This commit is contained in:
Andika Demas Riyandi 2021-01-27 20:02:48 +07:00
parent cae48808b5
commit b91731ec7c
2 changed files with 2 additions and 12 deletions

View File

@ -5,6 +5,7 @@ mod init;
use self::init::init_prjfmt;
use std::path::PathBuf;
use structopt::StructOpt;
use log::info;

View File

@ -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;