diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -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) +} + |
