# 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" name = "procs" version = "0.14.8" authors = ["dalance@gmail.com"] build = false exclude = [ "img/*", "config/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A modern replacement for ps" readme = "README.md" keywords = ["process"] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/dalance/procs" [package.metadata.release] pre-release-commit-message = "Prepare to v{{version}}" tag-message = "Bump version to {{version}}" tag-prefix = "" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = "v{{version}}" search = "Unreleased" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = "{{date}}" search = "ReleaseDate" [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" replace = """ Change Log ## [Unreleased](https://github.com/dalance/procs/compare/v{{version}}...Unreleased) - ReleaseDate""" search = "Change Log" [[package.metadata.release.pre-release-replacements]] file = "README.md" replace = "changelog-v{{version}}" search = 'changelog-v[0-9\.]+' [[package.metadata.release.pre-release-replacements]] file = "README.md" replace = "v{{version}}/procs-{{version}}" search = 'v[0-9\.]+/procs-[0-9\.]+' [[package.metadata.release.pre-release-replacements]] file = "snapcraft.yaml" replace = "version v{{version}}" search = 'version v[0-9\.]+' [package.metadata.rpm.cargo] buildflags = ["--release"] target = "x86_64-unknown-linux-musl" [package.metadata.rpm.targets.procs] path = "/usr/bin/procs" [profile.release] lto = true codegen-units = 1 [[bin]] name = "procs" path = "src/main.rs" [dependencies.anyhow] version = "1.0" [dependencies.byte-unit] version = "5.1" [dependencies.chrono] version = "0.4.38" features = ["clock"] default-features = false [dependencies.clap] version = "4.4" features = ["derive"] [dependencies.clap_complete] version = "4.4" [dependencies.console] version = "0.15.8" [dependencies.directories] version = "5.0.1" [dependencies.dockworker] version = "0.5.1" optional = true [dependencies.getch] version = "0.3.1" [dependencies.libc] version = "0.2" [dependencies.minus] version = "5.6" features = [ "static_output", "search", ] [dependencies.once_cell] version = "1.20.2" [dependencies.serde] version = "1.0" [dependencies.serde_derive] version = "1.0" [dependencies.termbg] version = "0.6.0" [dependencies.tokio] version = "1.41" features = ["rt"] optional = true [dependencies.toml] version = "0.8" [dependencies.unicode-width] version = "0.2" [features] default = ["docker"] docker = [ "dockworker", "tokio", ] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.pager] version = "0.16.1" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.procfs] version = "0.17.0" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.regex] version = "1.11" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.uzers] version = "0.12" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.which] version = "6" [target.'cfg(target_os = "freebsd")'.dependencies.bsd-kvm] version = "0.1.5" [target.'cfg(target_os = "freebsd")'.dependencies.bsd-kvm-sys] version = "0.2.0" [target.'cfg(target_os = "freebsd")'.dependencies.pager] version = "0.16.1" [target.'cfg(target_os = "freebsd")'.dependencies.uzers] version = "0.12" [target.'cfg(target_os = "freebsd")'.dependencies.which] version = "6" [target.'cfg(target_os = "macos")'.dependencies.errno] version = "0.3" [target.'cfg(target_os = "macos")'.dependencies.libproc] version = "0.14" [target.'cfg(target_os = "macos")'.dependencies.nix] version = "0.29.0" features = ["process"] [target.'cfg(target_os = "macos")'.dependencies.pager] version = "0.16" [target.'cfg(target_os = "macos")'.dependencies.uzers] version = "0.12" [target.'cfg(target_os = "macos")'.dependencies.which] version = "6" [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.59" features = [ "Win32_Foundation", "Win32_Networking_WinSock", "Win32_NetworkManagement_IpHelper", "Win32_Security", "Win32_System_Diagnostics_ToolHelp", "Win32_System_ProcessStatus", "Win32_System_Threading", ] [badges.codecov] branch = "master" repository = "dalance/procs" service = "github" [badges.travis-ci] repository = "dalance/procs"