# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74.0" name = "bottom" version = "0.10.2" authors = ["Clement Tsang "] build = "build.rs" exclude = [ ".cargo-husky/", ".github/", ".idea", ".vscode/", "assets/", "desktop/", "docs/", "flamegraphs/", "sample_configs/", "schema/", "scripts/", "wix/", ".all-contributorsrc", ".cirrus.yml", ".gitignore", ".markdownlint.json", "CHANGELOG.md", "clippy.toml", "codecov.yml", "CONTRIBUTING.md", "Cross.toml", "rust-toolchain.toml", "rustfmt.toml", ] autobins = false autoexamples = false autotests = false autobenches = false default-run = "btm" 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" keywords = [ "cross-platform", "monitoring", "cli", "top", "tui", ] categories = [ "command-line-utilities", "visualization", ] license = "MIT" repository = "https://github.com/ClementTsang/bottom" [package.metadata.deb] 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", ], [ "completion/btm.bash", "usr/share/bash-completion/completions/btm", "644", ], [ "completion/btm.fish", "usr/share/fish/vendor_completions.d/btm.fish", "644", ], [ "completion/_btm", "usr/share/zsh/vendor-completions/", "644", ], [ "desktop/bottom.desktop", "usr/share/applications/bottom.desktop", "644", ], ] extended-description = """ By default, bottom will look for a config file in ~/.config/bottom/bottom.toml. A config file can be specified using `-C`. If a config file does not exist at the specified or default location, a default one will be created for the user there. """ section = "utility" [package.metadata.deb.variants.arm64] depends = "libc6:arm64 (>= 2.28)" [package.metadata.deb.variants.armhf] depends = "libc6:armhf (>= 2.28)" [[package.metadata.generate-rpm.assets]] dest = "/usr/bin/" mode = "755" source = "target/release/btm" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/doc/btm/" mode = "644" source = "LICENSE" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/man/man1/btm.1.gz" doc = true mode = "644" source = "manpage/btm.1.gz" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/bash-completion/completions/btm" mode = "644" source = "completion/btm.bash" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/fish/vendor_completions.d/btm.fish" mode = "644" source = "completion/btm.fish" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/zsh/vendor-completions/" mode = "644" source = "completion/_btm" [[package.metadata.generate-rpm.assets]] dest = "/usr/share/applications/bottom.desktop" mode = "644" source = "desktop/bottom.desktop" [package.metadata.wix] output = "bottom_x86_64_installer.msi" [profile.dev.package."*"] opt-level = 3 [profile.no-opt] opt-level = 0 inherits = "dev" [profile.profiling] debug = 2 inherits = "release" strip = false [profile.release] opt-level = 3 lto = true codegen-units = 1 debug = 0 strip = "symbols" [[bin]] name = "btm" path = "src/main.rs" test = true doctest = true doc = true [[test]] name = "integration" path = "tests/integration/main.rs" [dependencies.anyhow] version = "1.0.86" [dependencies.backtrace] version = "0.3.73" [dependencies.cfg-if] version = "1.0.0" [dependencies.clap] version = "4.5.13" features = [ "default", "cargo", "wrap_help", "derive", ] [dependencies.concat-string] version = "1.0.1" [dependencies.crossterm] version = "0.27.0" [dependencies.ctrlc] version = "3.4.4" features = ["termination"] [dependencies.dirs] version = "5.0.1" [dependencies.fern] version = "0.6.2" optional = true [dependencies.hashbrown] version = "0.14.5" [dependencies.humantime] version = "2.1.0" [dependencies.indexmap] version = "2.2.6" [dependencies.indoc] version = "2.0.5" [dependencies.itertools] version = "0.13.0" [dependencies.log] version = "0.4.22" optional = true [dependencies.nvml-wrapper] version = "0.10.0" features = ["legacy-functions"] optional = true [dependencies.regex] version = "1.10.5" [dependencies.schemars] version = "0.8.21" optional = true [dependencies.serde] version = "1.0.204" features = ["derive"] [dependencies.serde_json] version = "1.0.120" optional = true [dependencies.starship-battery] version = "0.9.1" optional = true [dependencies.strum] version = "0.26.3" features = ["derive"] optional = true [dependencies.sysinfo] version = "=0.30.13" [dependencies.time] version = "0.3.36" features = [ "local-offset", "formatting", "macros", ] optional = true [dependencies.toml_edit] version = "0.22.17" features = ["serde"] [dependencies.tui] version = "0.27.0" package = "ratatui" [dependencies.unicode-ellipsis] version = "0.2.0" [dependencies.unicode-segmentation] version = "1.11.0" [dependencies.unicode-width] version = "0.1.13" [dev-dependencies.assert_cmd] version = "2.0.15" [dev-dependencies.cargo-husky] version = "1.5.0" features = ["user-hooks"] default-features = false [dev-dependencies.predicates] version = "3.1.0" [build-dependencies.clap] version = "4.5.13" features = [ "default", "cargo", "wrap_help", "derive", ] [build-dependencies.clap_complete] version = "4.5.12" [build-dependencies.clap_complete_fig] version = "4.5.2" [build-dependencies.clap_complete_nushell] version = "4.5.3" [build-dependencies.clap_mangen] version = "0.2.23" [build-dependencies.indoc] version = "2.0.5" [features] battery = ["starship-battery"] default = ["deploy"] deploy = [ "battery", "gpu", "zfs", ] generate_schema = [ "schemars", "serde_json", "strum", ] gpu = ["nvidia"] logging = [ "fern", "log", "time", ] nvidia = ["nvml-wrapper"] zfs = [] [target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies.portable-pty] version = "0.8.1" [target.'cfg(target_os = "freebsd")'.dependencies.filedescriptor] version = "0.8.2" [target.'cfg(target_os = "freebsd")'.dependencies.serde_json] version = "1.0.120" [target.'cfg(target_os = "freebsd")'.dependencies.sysctl] version = "0.5.5" [target.'cfg(target_os = "linux")'.dependencies.rustix] version = "0.38.34" features = [ "fs", "param", ] [target.'cfg(target_os = "macos")'.dependencies.core-foundation] version = "0.9.4" [target.'cfg(target_os = "macos")'.dependencies.mach2] version = "0.4.2" [target.'cfg(target_os = "windows")'.dependencies.windows] version = "0.58.0" features = [ "Win32_Foundation", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_Ioctl", "Win32_System_ProcessStatus", "Win32_System_Threading", ] [target."cfg(unix)".dependencies.libc] version = "0.2.155" [lints.clippy] missing_safety_doc = "deny" todo = "deny" unimplemented = "deny" [lints.rust] rust_2018_idioms = "deny" [lints.rustdoc] broken_intra_doc_links = "deny" missing_crate_level_docs = "deny"