From 885e7aae47249fb35c398ab89be730a7d971c811 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:13:33 -0500 Subject: [PATCH] fix some formatting --- Cargo.toml | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bf0231888..08329e4ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,12 +1,12 @@ [package] name = "bottom" version = "0.9.6" -authors = [ "Clement Tsang " ] +authors = ["Clement Tsang "] edition = "2021" repository = "https://github.com/ClementTsang/bottom" -keywords = [ "cross-platform", "monitoring", "cli", "top", "tui" ] +keywords = ["cross-platform", "monitoring", "cli", "top", "tui"] license = "MIT" -categories = [ "command-line-utilities", "visualization" ] +categories = ["command-line-utilities", "visualization"] description = "A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows." documentation = "https://clementtsang.github.io/bottom/stable" readme = "README.md" @@ -63,27 +63,27 @@ debug = true strip = false [features] -battery = [ "starship-battery" ] -gpu = [ "nvidia" ] -nvidia = [ "nvml-wrapper" ] -zfs = [ ] +battery = ["starship-battery"] +gpu = ["nvidia"] +nvidia = ["nvml-wrapper"] +zfs = [] # Including logging for debugging purposes. -logging = [ "fern", "log" ] +logging = ["fern", "log"] # The features we use on deploy. Logging is not included as that is primarily (for now) just for debugging locally. -deploy = [ "battery", "gpu", "zfs" ] +deploy = ["battery", "gpu", "zfs"] -default = [ "deploy" ] +default = ["deploy"] [dependencies] anyhow = "1.0.75" backtrace = "0.3.69" cfg-if = "1.0.0" -clap = { version = "4.4.2", features = [ "default", "cargo", "wrap_help" ] } +clap = { version = "4.4.2", features = ["default", "cargo", "wrap_help"] } concat-string = "1.0.1" crossterm = "0.27.0" -ctrlc = { version = "3.4.0", features = [ "termination" ] } +ctrlc = { version = "3.4.0", features = ["termination"] } # dhat = "0.3.2" dirs = "5.0.1" fern = { version = "0.6.2", optional = true } @@ -91,17 +91,17 @@ hashbrown = "0.14.0" humantime = "2.1.0" indexmap = "2.0.0" itertools = "0.11.0" -kstring = { version = "2.0.0", features = [ "arc" ] } +kstring = { version = "2.0.0", features = ["arc"] } log = { version = "0.4.20", optional = true } nvml-wrapper = { version = "0.9.0", optional = true } once_cell = "1.18.0" regex = "1.9.4" -serde = { version = "=1.0.188 ", features = [ "derive" ] } +serde = { version = "=1.0.188 ", features = ["derive"] } starship-battery = { version = "0.8.2", optional = true } sysinfo = "=0.29.10" thiserror = "1.0.47" -time = { version = "0.3.26", features = [ "formatting", "macros" ] } -toml_edit = { version = "0.21.0", features = [ "serde" ] } +time = { version = "0.3.26", features = ["formatting", "macros"] } +toml_edit = { version = "0.21.0", features = ["serde"] } tui = { version = "0.22.0", package = "ratatui" } unicode-segmentation = "1.10.1" unicode-width = "0.1.10" @@ -110,7 +110,7 @@ unicode-width = "0.1.10" libc = "0.2.147" [target.'cfg(target_os = "linux")'.dependencies] -rustix = { version = "0.38.9", features = [ "fs", "param", "process" ] } +rustix = { version = "0.38.9", features = ["fs", "param", "process"] } [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.9.3" @@ -134,11 +134,13 @@ filedescriptor = "0.8.2" [dev-dependencies] assert_cmd = "2.0.12" -cargo-husky = { version = "1.5.0", default-features = false, features = [ "user-hooks" ] } +cargo-husky = { version = "1.5.0", default-features = false, features = [ + "user-hooks", +] } predicates = "3.0.3" [build-dependencies] -clap = { version = "4.4.2", features = [ "default", "cargo", "wrap_help" ] } +clap = { version = "4.4.2", features = ["default", "cargo", "wrap_help"] } clap_complete = "4.4.1" clap_complete_fig = "4.4.0" clap_complete_nushell = "4.4.0"