aboutsummaryrefslogtreecommitdiff
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 2b96024..7481376 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,4 +1,4 @@
1#![feature(rustc_macro)] 1#![feature(proc_macro)]
2#[macro_use] extern crate serde_derive; 2#[macro_use] extern crate serde_derive;
3extern crate serde_json; 3extern crate serde_json;
4 4
@@ -22,6 +22,8 @@ mod section;
22 22
23mod character; 23mod character;
24use character::Character; 24use character::Character;
25mod series;
26use series::Series;
25 27
26mod tags; 28mod tags;
27mod dl_list; 29mod dl_list;
@@ -66,7 +68,7 @@ fn main() {
66 68
67 let buf = pre_process::strip_irrelevant_content(&buf); 69 let buf = pre_process::strip_irrelevant_content(&buf);
68 70
69 let mut char = Character::new(); 71 let mut char = Series::new();
70 char.parse(&buf); 72 char.parse(&buf);
71 73
72 let json = serde_json::to_string(&char).unwrap(); 74 let json = serde_json::to_string(&char).unwrap();