Commit Graph

16 Commits

Author SHA1 Message Date
SeanOMik 0b7c6a9693
Switch to using a yaml config 2023-07-29 00:08:47 -04:00
SeanOMik ec103e4385
Parse path overload from argv or env 2023-07-26 00:11:16 -04:00
SeanOMik 49535b94c4
Create simple dockerfile 2023-07-26 00:11:15 -04:00
seanomik 7311645b45
Separate code out of `main.rs` and reformat to improve readability 2023-07-26 00:11:14 -04:00
seanomik 5327c578cd
Get cross seed doing what it's actually meant to do: cross seed! 2023-07-26 00:11:13 -04:00
seanomik 9a7d08cb81
Check if a search result is a torrent we can cross seed, 2023-07-26 00:11:13 -04:00
seanomik 507b0e0594
Parse booleans from CLI flags 2023-07-26 00:11:12 -04:00
seanomik 25bf4db796
TorznabClient::search now returns a Vec<TorrentResult> 2023-07-26 00:11:11 -04:00
seanomik a93fef3ac5
Move config fields around, make fields public 2023-07-26 00:11:10 -04:00
seanomik 83bfec3ddb
Added defaults 2023-07-26 00:11:08 -04:00
seanomik de98219200
Created more members of Config struct 2023-07-26 00:11:00 -04:00
seanomik 6741d35783 Create simple torznab api module. Start asyncifying the indexer requests 2022-06-17 23:57:48 -04:00
seanomik 2a225ac2db Parse command line arguments as configuration options.
I made an "ArgumentTree" to store all the arguments efficiently as they're being parsed. This would've been significantly easier if `figment::value::Value` gave us a mutable reference to the data. If it did, I would've been able to just use `Dict` but as the last commit showed, that wouldn't work; I need something mutable.
2022-06-16 00:49:42 -04:00
seanomik d2a22d6ee1 Try to parse the cli commands 2022-06-15 22:29:15 -04:00
SeanOMik 5426c6186e Start working on reading config from env, cli, and toml 2022-06-13 22:44:23 -04:00
SeanOMik 0de10cbffe
Create LICENSE 2022-06-12 19:11:21 -04:00