bottom/Cargo.toml

126 lines
3.3 KiB
TOML
Raw Normal View History

2019-09-04 06:27:25 +03:00
[package]
name = "bottom"
2021-09-12 21:02:11 +03:00
version = "0.6.4"
authors = ["Clement Tsang <cjhtsang@uwaterloo.ca>"]
2019-09-04 06:27:25 +03:00
edition = "2018"
repository = "https://github.com/ClementTsang/bottom"
2020-02-23 02:41:13 +03:00
keywords = ["cross-platform", "monitoring", "cli", "top", "tui"]
license = "MIT"
2020-02-19 08:16:40 +03:00
categories = ["command-line-utilities", "visualization"]
2020-02-23 02:38:18 +03:00
description = "A cross-platform graphical process/system monitor with a customizable interface and a multitude of features. Supports Linux, macOS, and Windows."
2019-09-17 07:24:36 +03:00
readme = "README.md"
default-run = "btm"
build = "build.rs"
2019-09-04 06:27:25 +03:00
2019-10-19 23:29:04 +03:00
[[bin]]
name = "btm"
path = "src/bin/main.rs"
doc = false
2019-09-04 06:27:25 +03:00
[lib]
test = false
doctest = false
doc = false
2020-01-05 00:07:35 +03:00
[profile.release]
debug = 0
lto = true
# debug = true
# lto = false
2020-02-18 02:13:13 +03:00
opt-level = 3
codegen-units = 1
2020-01-05 00:07:35 +03:00
[features]
default = ["fern", "log", "battery"]
2019-09-04 06:27:25 +03:00
[dependencies]
anyhow = "1.0.40"
backtrace = "0.3.59"
chrono = "0.4.19"
crossterm = "0.18.2"
ctrlc = { version = "3.1.9", features = ["termination"] }
clap = "2.33"
cfg-if = "1.0"
dirs = "3.0.2"
futures = "0.3.14"
futures-timer = "3.0.2"
fxhash = "0.2.1"
indexmap = "1.6.2"
itertools = "0.10.0"
once_cell = "1.5.2"
regex = "1.5.4"
serde = { version = "1.0.125", features = ["derive"] }
# Sysinfo is still used in Linux for the ProcessStatus
2021-06-26 09:14:44 +03:00
sysinfo = "0.18.2"
thiserror = "1.0.24"
toml = "0.5.8"
tui = { version = "0.14.0", features = ["crossterm"], default-features = false }
typed-builder = "0.9.0"
2020-11-29 02:29:23 +03:00
unicode-segmentation = "1.7.1"
unicode-width = "0.1"
2019-09-15 04:22:57 +03:00
# For debugging only... disable on release builds with for now? TODO: Redo this.
fern = { version = "0.6.0", optional = true }
log = { version = "0.4.14", optional = true }
battery = { version = "0.7.8", optional = true }
[target.'cfg(unix)'.dependencies]
libc = "0.2.86"
[target.'cfg(target_os = "linux")'.dependencies]
heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "net", "sensors"] }
procfs = "0.10.1"
smol = "1.2.5"
[target.'cfg(target_os = "macos")'.dependencies]
heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "memory", "net"] }
[target.'cfg(target_os = "windows")'.dependencies]
heim = { version = "0.1.0-rc.1", features = ["cpu", "disk", "memory"] }
winapi = "0.3.9"
2020-02-29 05:15:36 +03:00
2019-09-15 04:22:57 +03:00
[dev-dependencies]
assert_cmd = "1.0.3"
predicates = "1.0.8"
2020-02-23 02:38:18 +03:00
[build-dependencies]
clap = "2.33"
2020-02-23 02:38:18 +03:00
[package.metadata.deb]
section = "utility"
2020-02-23 02:38:18 +03:00
assets = [
["target/release/btm", "usr/bin/", "755"],
["LICENSE", "usr/share/doc/btm/", "644"],
[
"target/release/build/bottom-*/out/btm.bash",
"usr/share/bash-completion/completions/btm",
"644",
],
[
"target/release/build/bottom-*/out/btm.fish",
"usr/share/fish/vendor_completions.d/btm.fish",
"644",
],
[
"target/release/build/bottom-*/out/_btm",
"usr/share/zsh/vendor-completions/",
"644",
],
2020-02-23 02:38:18 +03:00
]
extended-description = """\
A cross-platform graphical process/system monitor with a customizable interface and a multitude of
features. Supports Linux, macOS, and Windows.
2020-02-23 02:38:18 +03:00
By default, bottom will look for a config file in ~/.config/bottom/bottom.toml.
If one is not specified it will fall back to defaults. If a config file does not
exist at the specified or default location, a blank one will be created for the user.
"""
2020-08-24 04:22:31 +03:00
[package.metadata.wix]
2020-08-24 04:39:53 +03:00
output = "bottom_x86_64_installer.msi"
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["user-hooks"]