Skip to content

Commit 7f63ce4

Browse files
committed
ttycolor
1 parent 1d5aa9b commit 7f63ce4

File tree

4 files changed

+13
-196
lines changed

4 files changed

+13
-196
lines changed

Cargo.lock

Lines changed: 10 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ edition = "2018"
88

99
[dependencies]
1010
tokio = { version = "1.5.0", features = ["full"] } # An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications.
11-
colored = "2.0.0" # The most simple way to add colors in your terminal
12-
termcolor = "1.1.2" # A simple cross platform library for writing colored text to a terminal.
11+
ttycolor = "0.1.0" # easy way to use termcolor

src/color.rs

Lines changed: 0 additions & 162 deletions
This file was deleted.

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use tokio::io::AsyncReadExt;
44
use tokio::io::AsyncWriteExt;
55
use tokio::net::UdpSocket;
66

7-
mod color;
8-
use color::ColorTrait;
7+
extern crate ttycolor;
8+
use ttycolor::*;
99

1010
const DEBUG: bool = false;
1111

0 commit comments

Comments
 (0)