From 444e14631dfed3d2fc60205b0d878ce56a255ab2 Mon Sep 17 00:00:00 2001 From: Stephan Dilly Date: Sun, 28 Nov 2021 13:38:44 +0100 Subject: [PATCH] cargo-sort --- Cargo.toml | 68 ++++++++++++++++++++-------------------- asyncgit/Cargo.toml | 20 ++++++------ filetreelist/Cargo.toml | 4 +-- invalidstring/Cargo.toml | 2 +- scopetime/Cargo.toml | 6 ++-- 5 files changed, 50 insertions(+), 50 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f9e2970e..757216f6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Stephan Dilly "] description = "blazing fast terminal-ui for git" edition = "2018" rust-version = "1.50" -exclude = [".github/*",".vscode/*","assets/*"] +exclude = [".github/*", ".vscode/*", "assets/*"] homepage = "https://github.com/extrawurst/gitui" repository = "https://github.com/extrawurst/gitui" readme = "README.md" @@ -20,36 +20,36 @@ keywords = [ ] [dependencies] -scopetime = { path = "./scopetime", version = "0.1" } -asyncgit = { path = "./asyncgit", version = "0.18", default-features = false } -filetreelist = { path = "./filetreelist", version = "0.4" } -crossterm = { version = "0.20", features = [ "serde" ] } -clap = { version = "2.33", default-features = false } -tui = { version = "0.16", default-features = false, features = ['crossterm', 'serde'] } -bytesize = { version = "1.0", default-features = false} -itertools = "0.10" -rayon-core = "1.9" -log = "0.4" -simplelog = { version = "0.11", default-features = false } -dirs-next = "2.0" -crossbeam-channel = "0.5" -scopeguard = "1.1" -bitflags = "1.2" -chrono = "0.4" -backtrace = "0.3" -ron = "0.7" -serde = "1.0" anyhow = "1.0" -unicode-width = "0.1" -textwrap = "0.14" -unicode-truncate = "0.2" -unicode-segmentation = "1.7" -easy-cast = "0.4" +asyncgit = { path = "./asyncgit", version = "0.18", default-features = false } +backtrace = "0.3" +bitflags = "1.2" bugreport = "0.4" -lazy_static = "1.4" -syntect = { version = "4.5", default-features = false, features = ["metadata", "default-fancy"]} -gh-emoji = { version = "1.0.6", optional = true } +bytesize = { version = "1.0", default-features = false } +chrono = "0.4" +clap = { version = "2.33", default-features = false } +crossbeam-channel = "0.5" +crossterm = { version = "0.20", features = [ "serde" ] } +dirs-next = "2.0" +easy-cast = "0.4" +filetreelist = { path = "./filetreelist", version = "0.4" } fuzzy-matcher = "0.3" +gh-emoji = { version = "1.0.6", optional = true } +itertools = "0.10" +lazy_static = "1.4" +log = "0.4" +rayon-core = "1.9" +ron = "0.7" +scopeguard = "1.1" +scopetime = { path = "./scopetime", version = "0.1" } +serde = "1.0" +simplelog = { version = "0.11", default-features = false } +syntect = { version = "4.5", default-features = false, features = ["metadata", "default-fancy"] } +textwrap = "0.14" +tui = { version = "0.16", default-features = false, features = ['crossterm', 'serde'] } +unicode-segmentation = "1.7" +unicode-truncate = "0.2" +unicode-width = "0.1" [target.'cfg(all(target_family="unix",not(target_os="macos")))'.dependencies] which = "4.1" @@ -65,16 +65,16 @@ pretty_assertions = "1.0" maintenance = { status = "actively-developed" } [features] -default=["ghemoji", "trace-libgit"] -ghemoji=["gh-emoji"] -timing=["scopetime/enabled"] -trace-libgit=["asyncgit/trace-libgit"] +default =["ghemoji", "trace-libgit"] +ghemoji =["gh-emoji"] +timing =["scopetime/enabled"] +trace-libgit =["asyncgit/trace-libgit"] [workspace] -members=[ +members =[ "asyncgit", - "scopetime", "filetreelist", + "scopetime", ] [profile.release] diff --git a/asyncgit/Cargo.toml b/asyncgit/Cargo.toml index 5574ba22..b0ba5177 100644 --- a/asyncgit/Cargo.toml +++ b/asyncgit/Cargo.toml @@ -8,30 +8,30 @@ homepage = "https://github.com/extrawurst/gitui" repository = "https://github.com/extrawurst/gitui" readme = "README.md" license = "MIT" -categories = ["concurrency","asynchronous"] +categories = ["concurrency", "asynchronous"] keywords = ["git"] [dependencies] -scopetime = { path = "../scopetime", version = "0.1" } +crossbeam-channel = "0.5" +easy-cast = "0.4" git2 = "0.13" +log = "0.4" # git2 = { path = "../../extern/git2-rs", features = ["vendored-openssl"]} # git2 = { git="https://github.com/extrawurst/git2-rs.git", rev="fc13dcc", features = ["vendored-openssl"]} # pinning to vendored openssl, using the git2 feature this gets lost with new resolver -openssl-sys = { version = '0.9', features= ["vendored"] } +openssl-sys = { version = '0.9', features = ["vendored"] } rayon-core = "1.9" -crossbeam-channel = "0.5" -log = "0.4" +scopetime = { path = "../scopetime", version = "0.1" } thiserror = "1.0" -url = "2.2" unicode-truncate = "0.2.0" -easy-cast = "0.4" +url = "2.2" [dev-dependencies] -tempfile = "3.2" invalidstring = { path = "../invalidstring", version = "0.1" } -serial_test = "0.5.1" pretty_assertions = "1.0" +serial_test = "0.5.1" +tempfile = "3.2" [features] default = ["trace-libgit"] -trace-libgit = [] \ No newline at end of file +trace-libgit = [] diff --git a/filetreelist/Cargo.toml b/filetreelist/Cargo.toml index 29324481..c075d383 100644 --- a/filetreelist/Cargo.toml +++ b/filetreelist/Cargo.toml @@ -9,11 +9,11 @@ repository = "https://github.com/extrawurst/gitui" readme = "README.md" license-file = "LICENSE.md" categories = ["command-line-utilities"] -keywords = ["gui","cli","terminal","ui","tui"] +keywords = ["gui", "cli", "terminal", "ui", "tui"] [dependencies] scopetime = { path = "../scopetime", version = "0.1" } thiserror = "1.0" [dev-dependencies] -pretty_assertions = "1.0" \ No newline at end of file +pretty_assertions = "1.0" diff --git a/invalidstring/Cargo.toml b/invalidstring/Cargo.toml index fb306490..f252c37b 100644 --- a/invalidstring/Cargo.toml +++ b/invalidstring/Cargo.toml @@ -8,7 +8,7 @@ homepage = "https://github.com/extrawurst/gitui" repository = "https://github.com/extrawurst/gitui" readme = "README.md" license = "MIT" -categories = ["development-tools","development-tools::testing","encoding"] +categories = ["development-tools", "development-tools::testing", "encoding"] keywords = ["string"] [dependencies] diff --git a/scopetime/Cargo.toml b/scopetime/Cargo.toml index d98e4acf..8634a4cd 100644 --- a/scopetime/Cargo.toml +++ b/scopetime/Cargo.toml @@ -9,11 +9,11 @@ repository = "https://github.com/extrawurst/gitui" license = "MIT" readme = "README.md" categories = ["development-tools::profiling"] -keywords = ["profiling","logging"] +keywords = ["profiling", "logging"] [dependencies] log = "0.4" [features] -default=[] -enabled=[] \ No newline at end of file +default =[] +enabled =[]