diff options
| author | Edward Barnard | 2015-08-29 12:48:57 +0700 |
|---|---|---|
| committer | Edward Barnard | 2015-08-29 12:48:57 +0700 |
| commit | 5fbcbdd5f7f3be9d3340e22576b723b44611147b (patch) | |
| tree | 367d858f598c09128b55954eeb8ea203104dd6c0 /src/lib.rs | |
| parent | c78d39fdf1a0fa9720756ac75e14107f2e72c14a (diff) | |
| download | rust-plist-5fbcbdd5f7f3be9d3340e22576b723b44611147b.tar.bz2 | |
Switch to using BTreeMap for dictionaries
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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>), |
