[package] name = "topgrade" description = "Upgrade all the things" categories = ["os"] keywords = ["upgrade", "update"] license = "GPL-3.0" repository = "https://github.com/topgrade-rs/topgrade" rust-version = "1.76.0" version = "16.0.1" authors = ["Roey Darwish Dror ", "Thomas Schönauer "] exclude = ["doc/screenshot.gif", "BREAKINGCHANGES_dev.md"] edition = "2021" readme = "README.md" [[bin]] name = "topgrade" path = "src/main.rs" ##[lib] ##name = "topgrade_lib" [dependencies] home = "~0.5" etcetera = "~0.8" once_cell = "~1.19" serde = { version = "~1.0", features = ["derive"] } toml = "0.8" which_crate = { version = "~6.0", package = "which" } shellexpand = "~3.1" clap = { version = "~4.5", features = ["cargo", "derive"] } clap_complete = "~4.5" clap_mangen = "~0.2" walkdir = "~2.5" console = "~0.15" lazy_static = "~1.4" chrono = "~0.4" glob = "~0.3" strum = { version = "~0.26", features = ["derive"] } thiserror = "~1.0" tempfile = "~3.10" cfg-if = "~1.0" tokio = { version = "~1.38", features = ["process", "rt-multi-thread"] } futures = "~0.3" regex = "~1.10" semver = "~1.0" shell-words = "~1.1" color-eyre = "~0.6" tracing = { version = "~0.1", features = ["attributes", "log"] } tracing-subscriber = { version = "~0.3", features = ["env-filter", "time"] } merge = "~0.1" regex-split = "~0.1" notify-rust = "~4.11" wildmatch = "2.3.0" rust-i18n = "3.0.1" sys-locale = "0.3.1" [package.metadata.generate-rpm] assets = [{ source = "target/release/topgrade", dest = "/usr/bin/topgrade" }] [package.metadata.generate-rpm.requires] git = "*" [package.metadata.deb] name = "topgrade" maintainer = "Chris Gelatt " 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 [target.'cfg(unix)'.dependencies] nix = { version = "~0.29", features = ["hostname", "signal", "user"] } rust-ini = "~0.21" self_update_crate = { version = "~0.40", default-features = false, optional = true, package = "self_update", features = ["archive-tar", "compression-flate2", "rustls"] } [target.'cfg(windows)'.dependencies] self_update_crate = { version = "~0.40", default-features = false, optional = true, package = "self_update", features = ["archive-zip", "compression-zip-deflate", "rustls"] } winapi = "~0.3" parselnk = "~0.1" [profile.release] lto = true [features] default = [] self-update = ["self_update_crate"]