From 5a4cd9b086515a9ca9d8b005b2e9b3895ca8d20f Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Thu, 19 Nov 2020 16:26:25 +0100 Subject: Reduce the amount of dependecies --- Cargo.toml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 414594b..5dcfc2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,10 +5,28 @@ authors = ["Bond_009 "] edition = "2018" [dependencies] -clap = "^2.33" -git2 = "^0.13" toml = "^0.5" +[dependencies.clap] +version = "^2.33" +default-features = false +features = ["color", "vec_map"] + +[dependencies.git2] +version = "^0.13" +default-features = false +features = ["https"] + +[dependencies.git2_credentials] +version = "^0.7" +optional = true +default-features = false + [dependencies.serde] version = "^1.0" +default-features = false features = ["derive"] + +[features] +default = [] +ssh = ["git2/ssh", "git2_credentials"] -- cgit v1.2.3