refactor table system (#132)

* init table trait

* add shrink_col_index and max_width method to Table trait

* make unicodes work when shrinking

* improve readability of the table

* replace old table system with new one

* update changelog
This commit is contained in:
Clément DOUIN
2021-04-27 14:54:53 +02:00
committed by GitHub
parent cb296a5d98
commit cddb7bde37
8 changed files with 348 additions and 278 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
[package]
name = "himalaya"
description = "📫 The CLI email client."
description = "📫 CLI email client"
version = "0.2.7"
authors = ["soywod <clement.douin@posteo.net>"]
edition = "2018"
@@ -16,10 +16,10 @@ log = "0.4.14"
mailparse = "0.13.1"
native-tls = "0.2"
rfc2047-decoder = "0.1.2"
serde = { version = "1.0.118", features = ["derive"] }
serde = {version = "1.0.118", features = ["derive"]}
serde_json = "1.0.61"
terminal_size = "0.1.15"
toml = "0.5.8"
tree_magic = "0.2.3"
unicode-width = "0.1.7"
uuid = { version = "0.8", features = ["v4"] }
uuid = {version = "0.8", features = ["v4"]}