Crates.io | weedle4 |
lib.rs | weedle4 |
version | 0.4.0 |
source | src |
created_at | 2023-05-03 17:35:59.509961 |
updated_at | 2023-05-03 17:35:59.509961 |
description | A WebIDL Parser |
homepage | https://github.com/sagudev/weedle4 |
repository | https://github.com/sagudev/weedle4 |
max_upload_size | |
id | 855633 |
size | 101,039 |
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]
weedle4 = "0.4.0"
src/main.rs
fn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}