Files
topgrade/Cargo.toml
DottoDev 2d94eb974f feat: flag and config to skip notifications by jlucktay (#5)
* feat: flag and config to skip notifications

At the end of a run, topgrade normally sends a system notification.
This change adds a command-line flag and a config-file option to
disable this behaviour.

* fix: clippy issues

Also derive Eq where PartialEq is being derived.
https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Authored-by: James Lucktaylor <jlucktay+github@gmail.com>
Approved-by: Thomas Schönauer <t.schoenauer@hgs-wt.at>
2022-10-10 20:21:20 +00:00

58 lines
1.6 KiB
TOML

[package]
name = "topgrade"
description = "Upgrade all the things"
categories = ["os"]
keywords = ["upgrade", "update"]
license-file = "LICENSE"
repository = "https://github.com/r-darwish/topgrade"
version = "9.1.0"
authors = ["Roey Darwish Dror <roey.ghost@gmail.com>"]
exclude = ["doc/screenshot.gif"]
edition = "2018"
readme = "README.md"
[dependencies]
directories = "4.0.1"
serde = { version = "1.0.125", features = ["derive"] }
toml = "0.5.8"
which_crate = { version = "4.1.0", package = "which" }
shellexpand = "2.1.0"
clap = { version = "3.1", features = ["cargo", "derive"] }
log = "0.4.14"
walkdir = "2.3.2"
console = "0.15.0"
lazy_static = "1.4.0"
chrono = "0.4.19"
pretty_env_logger = "0.4.0"
glob = "0.3.0"
strum = { version = "0.24.0", features = ["derive"] }
thiserror = "1.0.24"
anyhow = "1.0.40"
tempfile = "3.2.0"
cfg-if = "1.0.0"
tokio = { version = "1.5.0", features = ["process", "rt-multi-thread"] }
futures = "0.3.14"
regex = "1.5.3"
sys-info = "0.9"
semver = "1.0"
[target.'cfg(target_os = "macos")'.dependencies]
notify-rust = "4.5.0"
[target.'cfg(unix)'.dependencies]
nix = "0.24.1"
rust-ini = "0.18.0"
self_update_crate = { version = "0.30.0", default-features = false, optional = true, package = "self_update", features = ["archive-tar", "compression-flate2", "rustls"] }
[target.'cfg(windows)'.dependencies]
self_update_crate = { version = "0.30.0", default-features = false, optional = true, package = "self_update", features = ["archive-zip", "compression-zip-deflate", "rustls"] }
winapi = "0.3.9"
parselnk = "0.1.0"
[profile.release]
lto = true
[features]
default = []
self-update = ["self_update_crate"]