| Crates.io | weedle |
| lib.rs | weedle |
| version | 0.13.0 |
| created_at | 2018-04-29 08:35:54.711442+00 |
| updated_at | 2024-07-08 17:44:23.287201+00 |
| description | A WebIDL Parser |
| homepage | https://github.com/rustwasm/weedle |
| repository | https://github.com/rustwasm/weedle |
| max_upload_size | |
| id | 62972 |
| size | 245,778 |
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]
weedle = "0.9.0"
src/main.rsfn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}