17 releases (breaking)
0.13.0 | Jul 8, 2024 |
---|---|
0.12.0 | Jan 21, 2021 |
0.11.0 | Mar 2, 2020 |
0.10.0 | Jul 10, 2019 |
0.5.0 | Jul 26, 2018 |
#639 in Parser implementations
2,515 downloads per month
Used in 6 crates
(4 directly)
95KB
2.5K
SLoC
About
Parses valid WebIDL definitions & produces a data structure starting from
Definitions
.
Usage
Cargo.toml
[dependencies]
weedle = "0.9.0"
src/main.rs
fn main() {
let parsed = weedle::parse("
interface Window {
readonly attribute Storage sessionStorage;
};
").unwrap();
println!("{:?}", parsed);
}
Dependencies
~1MB
~17K SLoC