prettytable-rs: 0.4.0 -> 0.5.1
This commit is contained in:
parent
72f7254005
commit
db73302550
3 changed files with 5 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -11,7 +11,7 @@ dependencies = [
|
||||||
"itertools 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"itertools 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"log 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
"log 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"open 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"open 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"prettytable-rs 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"prettytable-rs 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
"rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
|
"regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
"serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
@ -167,7 +167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "prettytable-rs"
|
name = "prettytable-rs"
|
||||||
version = "0.4.0"
|
version = "0.5.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"term 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"term 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
|
|
@ -23,7 +23,7 @@ serde_json = "0.6.0"
|
||||||
|
|
||||||
clap = { version = "1.4.5", features = ["yaml"] }
|
clap = { version = "1.4.5", features = ["yaml"] }
|
||||||
term_grid = "0.1.2"
|
term_grid = "0.1.2"
|
||||||
prettytable-rs = "0.4.0"
|
prettytable-rs = "0.5.1"
|
||||||
open = "1.1.0"
|
open = "1.1.0"
|
||||||
itertools = "0.4.5"
|
itertools = "0.4.5"
|
||||||
hoedown = "3.0.3"
|
hoedown = "3.0.3"
|
||||||
|
|
|
@ -162,7 +162,7 @@ impl FilePrinter for TablePrinter {
|
||||||
let mut tab = Table::new();
|
let mut tab = Table::new();
|
||||||
|
|
||||||
if !self.pretty {
|
if !self.pretty {
|
||||||
let plain_format = TableFormat::new(' ', None, None);
|
let plain_format = TableFormat::new(None, None, None);
|
||||||
debug!("Setting plain format for table");
|
debug!("Setting plain format for table");
|
||||||
tab.set_format(plain_format);
|
tab.set_format(plain_format);
|
||||||
}
|
}
|
||||||
|
@ -204,7 +204,7 @@ impl FilePrinter for TablePrinter {
|
||||||
let mut tab = Table::new();
|
let mut tab = Table::new();
|
||||||
|
|
||||||
if !self.pretty {
|
if !self.pretty {
|
||||||
let plain_format = TableFormat::new(' ', None, None);
|
let plain_format = TableFormat::new(None, None, None);
|
||||||
debug!("Setting plain format for table");
|
debug!("Setting plain format for table");
|
||||||
tab.set_format(plain_format);
|
tab.set_format(plain_format);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue