From f3407710128928dcb3fa9a83c206631987bf395a Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Mon, 16 May 2022 23:14:04 +0200 Subject: Cleanup dependencies – disable unnecessary or unused features (#407) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Disable unnecessary features of config crate, keep only toml The atuin documentation only mentions the TOML format for configuration files, but the config crate supports many other formats by default, which increases the binary size by about 300 kiB. * Disable unused features of cli-table crate This doesn't seem to have noticeable effect on the binary size, but disabling them cleans up the dependency tree a bit. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 0e1f2296..0120bee1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ itertools = "0.10.3" tokio = { version = "1", features = ["full"] } async-trait = "0.1.49" chrono-english = "0.1.4" -cli-table = "0.4" +cli-table = { version = "0.4", default-features = false } base64 = "0.13.0" humantime = "2.1.0" crossbeam-channel = "0.5.1" -- cgit v1.3.1