Skip to content

Commit

Permalink
fix some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang authored Nov 16, 2023
1 parent 7979a57 commit 885e7aa
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "bottom"
version = "0.9.6"
authors = [ "Clement Tsang <[email protected]>" ]
authors = ["Clement Tsang <[email protected]>"]
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"
Expand Down Expand Up @@ -63,45 +63,45 @@ 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 }
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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 885e7aa

Please sign in to comment.