uniffi-rs/weedle2
Ben Dean-Kawamura f856555557 Bump weedle2 to 5.0.0
This was previously published as weedle 4.0.1, but this change was actually breaking:

bf9097cc2f (diff-389c79acae386eb845b5e78c7a4b3e284837370f5afb4e31daf5455c8cb200f9R238)

I yanked the 4.0.1 release, let's release this with a new major version instead.
2024-01-25 10:32:01 -05:00
..
src Implement docstrings 2023-11-22 14:10:07 +01:00
tests Revert changes in weedle2 dir, exclude in _typos.toml 2023-12-27 10:24:49 -05:00
.gitignore Merge commit '577eb3f20e9c425189884141de28af45c802dad9' as 'weedle2' 2022-04-22 13:19:51 +02:00
.travis.yml Merge commit '577eb3f20e9c425189884141de28af45c802dad9' as 'weedle2' 2022-04-22 13:19:51 +02:00
Cargo.toml Bump weedle2 to 5.0.0 2024-01-25 10:32:01 -05:00
LICENSE.md Indicate that weedle2 is fully located in the uniffi repo 2022-04-29 10:41:35 +02:00
README.md Bump weedle2 to 5.0.0 2024-01-25 10:32:01 -05:00
release.toml Do not automatically publish weedle2. 2022-05-05 12:16:38 +02:00

README.md

Weedle 2 - Electric Boogaloo

A Web IDL parser

Crates.io version Documentation MIT License

Built with 🦀🕸 by The Rust and WebAssembly Working Group.
Forked to extend the functionality beyond WebIDL needs.

About

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

Usage

Cargo.toml

[dependencies]
weedle2 = "5.0.0"

src/main.rs

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

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