Skip to content

Commit

Permalink
trim nix
Browse files Browse the repository at this point in the history
  • Loading branch information
TBS1996 committed Apr 9, 2024
1 parent 4a7c5a6 commit 25fa985
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "talecast"
version = "0.1.7"
version = "0.1.8"
edition = "2021"
description = "Simple CLI podcatcher"
license = "MIT"
Expand All @@ -12,7 +12,6 @@ chrono = "0.4.35"
rss = "2.0.7"
toml = "0.5"
serde = { version = "1.0", features = ["derive"] }
#anyhow = "1.0.81"
dirs = "5.0.1"
indicatif = "0.17.8"
reqwest = { version = "0.12.2", features = ["stream"] }
Expand All @@ -31,4 +30,3 @@ quickxml_to_serde = "0.6.0"
strum = "0.21"
strum_macros = "0.21"
uuid = "1.8.0"

4 changes: 0 additions & 4 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ pkgs.mkShell {
buildInputs = [
pkgs.openssl
pkgs.pkg-config
pkgs.rustc
pkgs.cargo
pkgs.rustup
pkgs.rust-analyzer
];
}

Expand Down
3 changes: 2 additions & 1 deletion src/podcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ impl Podcast {
let configs: HashMap<String, PodcastConfig> = {
let path = crate::utils::podcasts_toml();
if !path.exists() {
eprintln!("You need to create a 'podcasts.toml' file to get started");
eprintln!("No podcasts configured!");
eprintln!("Add podcasts with \"{} --add 'url' 'name'\" or by manually configuring the podcasts.toml file.", crate::APPNAME);
std::process::exit(1);
}
let config_str = std::fs::read_to_string(path).unwrap();
Expand Down

0 comments on commit 25fa985

Please sign in to comment.