Crate plist [] [src]

Property list parsing

Examples of use

Parsing a Plist from a file

extern crate plist;

use std::fs::File;
use std::io::BufReader;

use plist::Plist;

fn main() {
    let mut f = File::open("tests/types-xml.plist").unwrap();
    let mut reader = BufReader::new(f);

    let plist = Plist::from_reader(&mut reader).unwrap();

    println!("Property list {:?}", plist);
}

Enums

Error

The errors that can occur when parsing a property list.

Plist

Represents a property list value.

Type Definitions

Result

The result type returned when parsing a property list