Skip to content

Commit

Permalink
move files to specified directory
Browse files Browse the repository at this point in the history
  • Loading branch information
syrflover committed Jul 17, 2024
1 parent d48bd98 commit e45a030
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 95 deletions.
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2021"

[dependencies]
dotenv = "0.15.0"
futures = "0.3.30"
reqwest = "0.12.5"
rss = { version = "2.0.8", features = ["serde"] }
serde = "1.0.203"
Expand All @@ -13,3 +14,7 @@ serde_yaml = "0.9.34"
thiserror = "1.0.61"
tokio = { version = "1.38.0", features = ["rt-multi-thread", "macros"] }
transmission-rpc = "0.4.2"
url = "2.5.2"

# trname = { path = "../renamer" }
trname = { git = "https://github.com/syrflover/trname", rev = "65b0d5c" }
3 changes: 2 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::{env, fmt::Debug, str::FromStr};
use std::{env, fmt::Debug, path::PathBuf, str::FromStr};

use serde::Deserialize;

Expand Down Expand Up @@ -57,5 +57,6 @@ impl Config {
#[derive(Debug, Deserialize)]
pub struct ChannelConfig {
pub url: String,
pub directory: PathBuf,
pub rules: Vec<Rule>,
}
Loading

0 comments on commit e45a030

Please sign in to comment.