aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorEdward Barnard2015-08-29 12:48:57 +0700
committerEdward Barnard2015-08-29 12:48:57 +0700
commit5fbcbdd5f7f3be9d3340e22576b723b44611147b (patch)
tree367d858f598c09128b55954eeb8ea203104dd6c0 /src/lib.rs
parentc78d39fdf1a0fa9720756ac75e14107f2e72c14a (diff)
downloadrust-plist-5fbcbdd5f7f3be9d3340e22576b723b44611147b.tar.bz2
Switch to using BTreeMap for dictionaries
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 30d19dd..38e348c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,14 +12,14 @@ pub use builder::{Builder, BuilderError, BuilderResult};
use chrono::{DateTime, UTC};
use chrono::format::ParseError as ChronoParseError;
-use std::collections::HashMap;
+use std::collections::BTreeMap;
use std::io::{Read, Seek, SeekFrom};
use std::io::Error as IoError;
#[derive(Clone, Debug, PartialEq)]
pub enum Plist {
Array(Vec<Plist>),
- Dictionary(HashMap<String, Plist>),
+ Dictionary(BTreeMap<String, Plist>),
Boolean(bool),
Data(Vec<u8>),
Date(DateTime<UTC>),