# svg-simple-parser a simple parser for svg ## Installation ``` [dependencies] svg-simple-parser = "0.0.1" ``` ## Usage ``` rust use svg_simple_parser::{parse,stringify}; fn main() -> Result<(), Box> { let svg = r#" "#; let (_, root) = parse(svg).unwrap(); println!("parse result: {:#?}", root.clone()); println!("stringify result: {:#?}", stringify(root)); Ok(()) } ``` ## Thanks [nom](https://crates.io/crates/nom)