chore: update dependencies
This commit is contained in:
parent
66599dd600
commit
4426f3fbdb
3 changed files with 212 additions and 277 deletions
474
Cargo.lock
generated
474
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
10
Cargo.toml
10
Cargo.toml
|
@ -7,13 +7,13 @@ authors = ["Troy Lusty <hello@troylusty.com>"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4.41"
|
chrono = "0.4.41"
|
||||||
clap = { version = "4.5.37", features = ["derive"] }
|
clap = { version = "4.5.39", features = ["derive"] }
|
||||||
reqwest = "0.12.15"
|
reqwest = "0.12.19"
|
||||||
rss = "2.0.12"
|
rss = "2.0.12"
|
||||||
serde = { version = "1.0.219", features = ["derive"] }
|
serde = { version = "1.0.219", features = ["derive"] }
|
||||||
tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"] }
|
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
|
||||||
toml = "0.8.22"
|
toml = "0.8.23"
|
||||||
xdg = "2.5.2"
|
xdg = "3.0.0"
|
||||||
futures = "0.3.31"
|
futures = "0.3.31"
|
||||||
indicatif = "0.17.11"
|
indicatif = "0.17.11"
|
||||||
anyhow = "1.0.98"
|
anyhow = "1.0.98"
|
||||||
|
|
|
@ -72,9 +72,10 @@ pub fn collate_values(args: Cli, config: &Config) -> (u8, u8, String) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn validate_config() -> Config {
|
pub fn validate_config() -> Config {
|
||||||
let xdg_dirs = BaseDirectories::new().expect("Failed to get XDG directories");
|
let xdg_dirs = BaseDirectories::with_prefix("packard");
|
||||||
|
|
||||||
let config_path = xdg_dirs
|
let config_path = xdg_dirs
|
||||||
.place_config_file("packard/config.toml")
|
.place_config_file("config.toml")
|
||||||
.expect("Failed to determine config file path");
|
.expect("Failed to determine config file path");
|
||||||
|
|
||||||
if !config_path.exists() {
|
if !config_path.exists() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue