-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
Cargo.toml
90 lines (79 loc) · 3.03 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "procs"
version = "0.14.8"
authors = ["[email protected]"]
repository = "https://github.com/dalance/procs"
keywords = ["process"]
categories = ["command-line-utilities"]
license = "MIT"
readme = "README.md"
description = "A modern replacement for ps"
edition = "2021"
exclude = ["img/*", "config/*"]
rust-version = "1.74"
[package.metadata.release]
pre-release-commit-message = "Prepare to v{{version}}"
tag-message = "Bump version to {{version}}"
tag-prefix = ""
pre-release-replacements = [
{file="CHANGELOG.md", search="Unreleased", replace="v{{version}}"},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="Change Log", replace="Change Log\n\n## [Unreleased](https://github.com/dalance/procs/compare/v{{version}}...Unreleased) - ReleaseDate"},
{file="README.md", search = "changelog-v[0-9\\.]+", replace = "changelog-v{{version}}" },
{file="README.md", search = "v[0-9\\.]+/procs-[0-9\\.]+", replace = "v{{version}}/procs-{{version}}" },
{file="snapcraft.yaml", search="version v[0-9\\.]+", replace="version v{{version}}"},
]
[features]
default = ["docker"]
docker = ["dockworker", "tokio"]
[badges]
travis-ci = { repository = "dalance/procs" }
codecov = { repository = "dalance/procs", branch = "master", service = "github" }
[dependencies]
anyhow = "1.0"
byte-unit = "5.1"
clap = {version = "4.4", features = ["derive"]}
clap_complete = "4.4"
console = "0.15.8"
chrono = {version = "0.4.39", default-features = false, features = ["clock"]}
directories = "5.0.1"
dockworker = { version = "0.5.1", optional = true }
getch = "0.3.1"
libc = "0.2"
minus = { version = "5.6", features = ["static_output", "search"] }
once_cell = "1.20.2"
serde = "1.0"
serde_derive = "1.0"
termbg = "0.6.1"
tokio = { version = "1.42", optional = true, features = ["rt"] }
toml = "0.8"
unicode-width = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
pager = "0.16.1"
procfs = "0.17.0"
regex = "1.11"
uzers = "0.12"
which = "7"
[target.'cfg(target_os = "macos")'.dependencies]
libproc = "0.14"
nix = {version = "0.29.0", features = ["process"]}
errno = "0.3"
pager = "0.16"
uzers = "0.12"
which = "7"
[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"] }
[target.'cfg(target_os = "freebsd")'.dependencies]
bsd-kvm = "0.1.5"
bsd-kvm-sys = "0.2.0"
pager = "0.16.1"
uzers = "0.12"
which = "7"
[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