From 094994360a7eb81eb545fccfe73e80765be71fd3 Mon Sep 17 00:00:00 2001 From: Edward Barnard Date: Tue, 4 Aug 2015 17:24:37 +0100 Subject: More parsing --- src/lib.rs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') 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), + Dictionary(HashMap), + Boolean(bool), + Data(Vec), + Date(String), + Real(f64), + Integer(i64), + String(String) +} + -- cgit v1.2.3