replace macro_use with normal use

This commit is contained in:
LordMZTE 2020-10-23 17:36:56 +02:00
parent 60df88dee1
commit 499573d011
1 changed files with 3 additions and 10 deletions

View File

@ -1,21 +1,14 @@
#[macro_use]
extern crate clap;
#[macro_use]
extern crate mcstat;
#[macro_use]
extern crate anyhow;
use std::io::Cursor;
use time::Duration;
use tokio::time;
use anyhow::{Context, Result};
use anyhow::{Context, Result, anyhow};
use asciify::AsciiBuilder;
use async_minecraft_ping::{ConnectionConfig, ModInfo, ServerDescription, StatusResponse};
use clap::App;
use clap::{App, load_yaml};
use image::ImageFormat;
use itertools::Itertools;
use mcstat::{remove_formatting, AsciiConfig};
use mcstat::{remove_formatting, AsciiConfig, print_table, none_if_empty};
use termcolor::{Buffer, BufferWriter, ColorChoice, WriteColor};
/// this message is used if getting a value from the arguments fails