Skip to content

Commit

Permalink
other: add zfs to deploy feature set (#808)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang authored Sep 14, 2022
1 parent e369e12 commit a427a9d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 8 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ opt-level = 3
codegen-units = 1

[features]
default = ["fern", "log", "battery", "gpu", "zfs"]
battery = ["starship-battery"]
deploy = ["battery", "gpu"]
gpu = ["nvidia"]
nvidia = ["nvml-wrapper"]
zfs = ["sysctl"]

# The features we use by default.
default = ["fern", "log", "battery", "gpu", "zfs"]

# The features we use on deploy. Logging is not included as that is primarily (for now) just for debugging locally.
deploy = ["battery", "gpu", "zfs"]

[dependencies]
anyhow = "1.0.57"
backtrace = "0.3.65"
Expand All @@ -56,7 +60,6 @@ clap = { version = "3.1.12", features = ["default", "cargo", "wrap_help"] }
concat-string = "1.0.1"
crossterm = "0.18.2"
ctrlc = { version = "3.1.9", features = ["termination"] }
# const_format = "0.2.23"
dirs = "4.0.0"

fern = { version = "0.6.1", optional = true }
Expand Down Expand Up @@ -113,11 +116,7 @@ section = "utility"
assets = [
["target/release/btm", "usr/bin/", "755"],
["LICENSE", "usr/share/doc/btm/", "644"],
[
"manpage/btm.1.gz",
"usr/share/man/man1/btm.1.gz",
"644",
],
["manpage/btm.1.gz", "usr/share/man/man1/btm.1.gz", "644"],
[
"completion/btm.bash",
"usr/share/bash-completion/completions/btm",
Expand All @@ -128,11 +127,7 @@ assets = [
"usr/share/fish/vendor_completions.d/btm.fish",
"644",
],
[
"completion/_btm",
"usr/share/zsh/vendor-completions/",
"644",
],
["completion/_btm", "usr/share/zsh/vendor-completions/", "644"],
]
extended-description = """\
A customizable cross-platform graphical process/system monitor for the terminal. Supports Linux, macOS, and Windows.
Expand All @@ -155,4 +150,3 @@ output = "bottom_x86_64_installer.msi"
version = "1"
default-features = false
features = ["user-hooks"]

0 comments on commit a427a9d

Please sign in to comment.