1 unstable release
Uses old Rust 2015
0.1.0 | Jun 9, 2016 |
---|
#11 in #plist
110KB
657 lines
plist-rs
plist-rs is a property list parser.
It supports both reading XML and binary property lists.
Getting Started
Add plist-rs as a dependency in your Cargo.toml
file:
[dependencies]
plist-rs = "*"
lib.rs
:
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);
}
Dependencies
~3MB
~51K SLoC