85 releases

0.2.84 Feb 1, 2023
0.2.83 Sep 12, 2022
0.2.82 Jul 25, 2022
0.2.79 Jan 19, 2022
0.2.15 Jul 26, 2018

#724 in WebAssembly

Download history 407348/week @ 2022-12-07 403983/week @ 2022-12-14 309703/week @ 2022-12-21 291174/week @ 2022-12-28 412595/week @ 2023-01-04 422865/week @ 2023-01-11 433962/week @ 2023-01-18 447249/week @ 2023-01-25 478789/week @ 2023-02-01 483738/week @ 2023-02-08 496770/week @ 2023-02-15 507937/week @ 2023-02-22 511668/week @ 2023-03-01 530173/week @ 2023-03-08 523737/week @ 2023-03-15 449364/week @ 2023-03-22

2,112,993 downloads per month
Used in 21,323 crates (2 directly)

MIT/Apache

105KB
2.5K SLoC

A common backend for bindgen crates.

This (internal) crate provides functionality common to multiple bindgen dependency crates. There are 4 main things exported from this crate:

  1. TryToTokens

    Provides the ability to attempt conversion from an AST struct into a TokenStream

  2. Diagnostic

    A struct used to provide diagnostic responses for failures of said tokenization

  3. ast

    Abstract Syntax Tree types used to represent a Rust program, with the necessary metadata to generate bindings for it

  4. util

    Common utilities for manipulating parsed types from syn

Dependencies

~1–1.5MB
~32K SLoC