From 07122749965b6221913aecb037e23fb7351dacf4 Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Wed, 31 Jul 2024 00:02:45 +0200 Subject: [PATCH] Cargo toml dependencies all in one block, sorted --- Cargo.toml | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 11d57e96c..7e0682ec7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,20 +15,21 @@ name = "delta" path = "src/main.rs" [dependencies] +ansi_colours = "1.2.1" +ansi_term = "0.12.1" +anstyle-parse = "0.2.3" +anyhow = "1.0.70" bat = { version = "0.24.0", default-features = false, features = [ "minimal-application", "paging", "regex-onig", ] } -chrono = "0.4.26" -chrono-humanize = "0.2.2" -ansi_colours = "1.2.1" -ansi_term = "0.12.1" -anstyle-parse = "0.2.3" -anyhow = "1.0.70" bitflags = "2.2.1" box_drawing = "0.1.2" bytelines = { version = "2.5.0", default-features = false } +chrono = "0.4.26" +chrono-humanize = "0.2.2" +clap_complete = "4.4.4" clap = { version = "4.3.14", features = [ "derive", "help", @@ -38,33 +39,24 @@ clap = { version = "4.3.14", features = [ console = "0.15.0" ctrlc = "3.2.5" dirs = "5.0.1" +git2 = { version = "0.18.2", default-features = false, features = [] } grep-cli = "0.1.8" itertools = "0.10.5" lazy_static = "1.4" palette = "0.7.2" pathdiff = "0.2.1" regex = "1.7.1" -serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" +serde = { version = "1.0.163", features = ["derive"] } shell-words = "1.0.0" smol_str = "0.1.24" syntect = "5.0.0" +# sysinfo: no default features to disable the use of threads +sysinfo = { version = "0.29.0", default-features = false, features = [] } +terminal-colorsaurus = "0.4.1" unicode-segmentation = "1.10.1" unicode-width = "0.1.10" xdg = "2.4.1" -clap_complete = "4.4.4" -terminal-colorsaurus = "0.4.1" - -[dependencies.git2] -version = "0.18.2" -default-features = false -features = [] - -[dependencies.sysinfo] -version = "0.29.0" -# no default features to disable the use of threads -default-features = false -features = [] [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }