Skip to content

Commit

Permalink
ttycolor
Browse files Browse the repository at this point in the history
  • Loading branch information
develon2015 committed Jul 26, 2021
1 parent 1d5aa9b commit 7f63ce4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 196 deletions.
40 changes: 10 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ edition = "2018"

[dependencies]
tokio = { version = "1.5.0", features = ["full"] } # An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.
colored = "2.0.0" # The most simple way to add colors in your terminal
termcolor = "1.1.2" # A simple cross platform library for writing colored text to a terminal.
ttycolor = "0.1.0" # easy way to use termcolor
162 changes: 0 additions & 162 deletions src/color.rs

This file was deleted.

4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use tokio::io::AsyncReadExt;
use tokio::io::AsyncWriteExt;
use tokio::net::UdpSocket;

mod color;
use color::ColorTrait;
extern crate ttycolor;
use ttycolor::*;

const DEBUG: bool = false;

Expand Down

0 comments on commit 7f63ce4

Please sign in to comment.