2018-05-29 23:48:30 +03:00
[ package ]
2022-10-26 20:45:49 +00:00
name = "topgrade"
description = "Upgrade all the things"
2019-03-31 06:36:45 +01:00
categories = [ "os" ]
keywords = [ "upgrade" , "update" ]
2025-11-16 19:08:49 +01:00
license = "GPL-3.0-or-later"
2022-10-17 22:25:28 +02:00
repository = "https://github.com/topgrade-rs/topgrade"
2025-02-02 19:24:57 -08:00
rust-version = "1.84.1"
2025-11-20 14:23:57 +01:00
version = "16.4.2"
2022-10-17 22:25:28 +02:00
authors = [ "Roey Darwish Dror <roey.ghost@gmail.com>" , "Thomas Schönauer <t.schoenauer@hgs-wt.at>" ]
2024-01-23 11:50:02 +08:00
exclude = [ "doc/screenshot.gif" , "BREAKINGCHANGES_dev.md" ]
2022-10-23 11:34:30 +00:00
edition = "2021"
2022-10-16 21:24:52 +02:00
2019-08-15 09:20:54 +03:00
readme = "README.md"
2018-05-29 23:48:30 +03:00
[ dependencies ]
2025-11-15 11:05:48 -05:00
home = "=0.5.11"
etcetera = "=0.10.0"
2022-11-03 17:05:09 +00:00
serde = { version = "~1.0" , features = [ "derive" ] }
2025-11-19 23:38:54 +08:00
toml = { version = "=0.9.8" , features = [ "preserve_order" ] }
2025-11-15 11:05:48 -05:00
which_crate = { version = "~8.0" , package = "which" }
2023-11-24 07:50:41 +08:00
shellexpand = "~3.1"
2024-02-24 13:14:53 +08:00
clap = { version = "~4.5" , features = [ "cargo" , "derive" ] }
clap_complete = "~4.5"
2023-11-24 07:50:41 +08:00
clap_mangen = "~0.2"
2024-06-13 09:21:42 +08:00
walkdir = "~2.5"
2025-11-15 11:05:48 -05:00
console = "~0.16"
2022-11-03 17:05:09 +00:00
chrono = "~0.4"
glob = "~0.3"
2025-11-15 11:05:48 -05:00
strum = { version = "~0.27" , features = [ "derive" ] }
thiserror = "~2.0"
tempfile = "~3.23"
tokio = { version = "~1.48" , features = [ "process" , "rt-multi-thread" ] }
2022-11-03 17:05:09 +00:00
futures = "~0.3"
2025-11-15 11:05:48 -05:00
regex = "~1.12"
2022-11-03 17:05:09 +00:00
semver = "~1.0"
shell-words = "~1.1"
2022-12-06 19:22:06 +00:00
color-eyre = "~0.6"
tracing = { version = "~0.1" , features = [ "attributes" , "log" ] }
2025-08-31 20:51:08 +02:00
tracing-subscriber = { version = "~0.3.20" , features = [ "env-filter" , "time" ] }
2023-06-27 10:02:27 +00:00
merge = "~0.1"
regex-split = "~0.1"
2024-06-13 09:21:42 +08:00
notify-rust = "~4.11"
2024-01-27 10:54:55 +08:00
wildmatch = "2.3.0"
2024-10-03 12:47:35 +02:00
rust-i18n = "3.0.1"
sys-locale = "0.3.1"
2025-04-21 05:59:25 +02:00
jetbrains-toolbox-updater = "5.0.0"
2025-06-17 05:58:23 +02:00
indexmap = { version = "2.9.0" , features = [ "serde" ] }
2025-11-01 14:53:26 +01:00
serde_json = "1.0.145"
2025-11-14 19:20:12 +01:00
# Temporary transitive dependency pins
2025-11-14 19:33:56 +01:00
ignore = "=0.4.23"
globset = "=0.4.16"
2025-11-14 19:20:12 +01:00
base64ct = "<1.8.0"
2025-11-23 13:15:50 +01:00
clap-cargo = "0.15.2"
2020-01-03 10:26:21 +02:00
2025-11-15 08:58:37 +01:00
[ patch . crates-io ]
mac-notification-sys = { git = "https://github.com/h4llow3En/mac-notification-sys" }
2022-11-13 23:47:12 +01:00
[ package . metadata . generate-rpm ]
2023-11-24 07:50:41 +08:00
assets = [ { source = "target/release/topgrade" , dest = "/usr/bin/topgrade" } ]
2022-11-13 23:47:12 +01:00
[ package . metadata . generate-rpm . requires ]
git = "*"
[ package . metadata . deb ]
2024-09-03 20:50:39 -07:00
name = "topgrade"
maintainer = "Chris Gelatt <kreeblah@gmail.com>"
copyright = "2024, Topgrade Team"
license-file = [ "LICENSE" , "0" ]
depends = "$auto"
extended-description = "Keeping your system up to date usually involves invoking multiple package managers. This results in big, non-portable shell one-liners saved in your shell. To remedy this, Topgrade detects which tools you use and runs the appropriate commands to update them."
section = "utils"
priority = "optional"
default-features = true
2025-10-25 18:02:04 +02:00
assets = [
[ "target/release/topgrade" , "usr/bin/" , "755" ] ,
[ "README.md" , "usr/share/doc/topgrade/README.md" , "644" ] ,
2025-11-10 18:12:49 +01:00
# The man page and shell completions are automatically generated by topgrade's build process in CI,
# so these files aren't actually committed.
[ "deployment/deb/topgrade.1" , "usr/share/man/man1/topgrade.1" , "644" ] ,
2025-10-25 18:02:04 +02:00
[ "deployment/deb/topgrade.bash" , "usr/share/bash-completion/completions/topgrade" , "644" ] ,
[ "deployment/deb/topgrade.fish" , "usr/share/fish/vendor_completions.d/topgrade.fish" , "644" ] ,
[ "deployment/deb/_topgrade" , "usr/share/zsh/vendor-completions/" , "644" ] ,
]
2022-11-13 23:47:12 +01:00
2018-10-17 14:07:58 +03:00
[ target . 'cfg(unix)' . dependencies ]
2025-11-15 11:05:48 -05:00
nix = { version = "~0.30" , features = [ "hostname" , "signal" , "user" ] }
2024-06-13 09:21:42 +08:00
rust-ini = "~0.21"
2025-11-15 11:05:48 -05:00
self_update_crate = { version = "~0.42" , default-features = false , optional = true , package = "self_update" , features = [ "archive-tar" , "compression-flate2" , "rustls" ] }
2020-05-09 07:22:51 +03:00
[ target . 'cfg(windows)' . dependencies ]
2025-09-26 14:49:12 +02:00
is_elevated = "~0.1"
parselnk = "~0.1"
2025-11-15 11:05:48 -05:00
self_update_crate = { version = "~0.42" , default-features = false , optional = true , package = "self_update" , features = [ "archive-zip" , "compression-zip-deflate" , "rustls" ] }
2025-09-20 16:33:17 +02:00
windows = { version = "~0.62" , features = [ "Win32_System_Console" ] }
2025-09-26 16:08:27 +02:00
windows-registry = "~0.6"
2018-08-19 14:41:13 +03:00
[ profile . release ]
lto = true
2018-11-07 14:31:44 +02:00
[ features ]
default = [ ]
2022-05-01 19:19:44 +03:00
self-update = [ "self_update_crate" ]