aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 780f87b..08fa545 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -14,6 +14,7 @@ extern crate reqwest;
extern crate rss;
#[macro_use]
extern crate serde_derive;
+extern crate percent_encoding;
extern crate serde_json;
extern crate serde_yaml;
extern crate toml;
@@ -26,6 +27,7 @@ mod download;
mod migration_handler;
mod parser;
mod playback;
+mod search;
mod structs;
mod utils;
@@ -38,7 +40,7 @@ mod errors {
use self::structs::*;
use errors::Result;
-const VERSION: &str = "0.10.3";
+const VERSION: &str = "0.11.0";
fn main() -> Result<()> {
utils::create_directories()?;
@@ -47,6 +49,6 @@ fn main() -> Result<()> {
let config = Config::new()?;
let mut app = parser::get_app(&VERSION);
let matches = app.clone().get_matches();
- command_handler::handle_matches(&VERSION, &mut state, &config, &mut app, &matches)?;
+ command_handler::handle_matches(&VERSION, &mut state, config, &mut app, &matches)?;
state.save()
}