3 <h1>Weedle 2 - Electric Boogaloo</h1>
5 <strong>A Web IDL parser</strong>
8 <a href="https://crates.io/crates/weedle2"><img src="https://img.shields.io/crates/v/weedle2.svg?style=flat-square" alt="Crates.io version" /></a>
9 <a href="https://docs.rs/weedle2"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="Documentation" /></a>
10 <a href="LICENSE"><img src="https://img.shields.io/crates/l/weedle2/2.0.0?style=flat-square" alt="MIT License" /></a>
14 Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a>.
16 Forked to extend the functionality beyond WebIDL needs.
22 Parses valid WebIDL definitions & produces a data structure starting from
23 [`Definitions`](https://docs.rs/weedle/latest/weedle/type.Definitions.html).
38 let parsed = weedle::parse("
40 readonly attribute Storage sessionStorage;
44 println!("{:?}", parsed);