Weedle 4 - Focal Coala

A Web IDL parser

Crates.io version Documentation MIT License

Built with 🦀🕸 by The Rust and WebAssembly Working Group.
Forked with [weedle2 patches](https://github.com/mozilla/uniffi-rs/tree/dc524271245c5f1e6b6113e6c201acb5e21da111/weedle2) and automated webref test to make sure that it can always read all latest web(idl) files.

About

Parses valid WebIDL definitions & produces a data structure starting from Definitions.

Usage

Cargo.toml

toml [dependencies] weedle4 = "0.4.0"

src/main.rs

```rust fn main() { let parsed = weedle::parse(" interface Window { readonly attribute Storage sessionStorage; }; ").unwrap();

println!("{:?}", parsed);

} ```