Crate plist

Source
Expand description

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§

  • The errors that can occur when parsing a property list.
  • Represents a property list value.

Type Aliases§

  • The result type returned when parsing a property list