aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs19
1 files changed, 18 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 87aca11..9641d6b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,4 +1,21 @@
extern crate rustc_serialize;
extern crate xml;
-pub mod reader; \ No newline at end of file
+mod reader;
+
+pub use reader::{Parser, StreamingParser, PlistEvent};
+
+use std::collections::HashMap;
+
+#[derive(Clone, Debug, PartialEq)]
+pub enum Plist {
+ Array(Vec<Plist>),
+ Dictionary(HashMap<String, Plist>),
+ Boolean(bool),
+ Data(Vec<u8>),
+ Date(String),
+ Real(f64),
+ Integer(i64),
+ String(String)
+}
+