From 9b8dee12ea839f911ed207ff9602d929cab5d34b Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sun, 9 Oct 2022 21:57:19 +0200 Subject: [PATCH] Disable unused features in prettytable-rs crate ffsend doesn't use csv. --- Cargo.lock | 41 ----------------------------------------- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 42 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2b2e446..1ab8262 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -187,18 +187,6 @@ dependencies = [ "byte-tools", ] -[[package]] -name = "bstr" -version = "0.2.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba3569f383e8f1598449f1a423e72e99569137b47740b1da11ef19af3d5c3223" -dependencies = [ - "lazy_static", - "memchr", - "regex-automata", - "serde", -] - [[package]] name = "bumpalo" version = "3.11.0" @@ -451,28 +439,6 @@ dependencies = [ "subtle", ] -[[package]] -name = "csv" -version = "1.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22813a6dc45b335f9bade10bf7271dc477e81113e89eb251a0bc2a8a81c536e1" -dependencies = [ - "bstr", - "csv-core", - "itoa 0.4.8", - "ryu", - "serde", -] - -[[package]] -name = "csv-core" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b2466559f260f48ad25fe6317b3c8dac77b5bdb5763ac7d9d6103530663bc90" -dependencies = [ - "memchr", -] - [[package]] name = "darling" version = "0.10.2" @@ -1756,7 +1722,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0fd04b170004fa2daccf418a7f8253aaf033c27760b5f225889024cf66d7ac2e" dependencies = [ "atty", - "csv", "encode_unicode", "lazy_static", "term", @@ -1999,12 +1964,6 @@ dependencies = [ "regex-syntax", ] -[[package]] -name = "regex-automata" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132" - [[package]] name = "regex-syntax" version = "0.6.27" diff --git a/Cargo.toml b/Cargo.toml index b91b9cd..a7d92d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -119,7 +119,7 @@ open = "2" openssl-probe = "0.1" pathdiff = "0.2" pbr = "1" -prettytable-rs = "0.8" +prettytable-rs = { version = "0.8", default-features = false } qr2term = { version = "0.2", optional = true } rand = "0.8" regex = "1.5"