| Crates.io | weedle2 |
| lib.rs | weedle2 |
| version | 5.0.0 |
| created_at | 2022-02-08 14:36:33.326848+00 |
| updated_at | 2024-01-24 15:58:52.996691+00 |
| description | A WebIDL Parser |
| homepage | https://github.com/mozilla/uniffi-rs/tree/main/weedle2 |
| repository | https://github.com/mozilla/uniffi-rs |
| max_upload_size | |
| id | 529132 |
| size | 96,190 |
A Web IDL parser
Built with 🦀🕸 by The Rust and WebAssembly Working Group.Parses valid WebIDL definitions & produces a data structure starting from
Definitions.
Cargo.toml[dependencies]
weedle2 = "5.0.0"
src/main.rsfn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}