100 releases

new 0.2.99 Dec 7, 2024
0.2.97 Nov 30, 2024
0.2.92 Mar 4, 2024
0.2.89 Nov 27, 2023
0.2.15 Jul 26, 2018

#1401 in WebAssembly

Download history 1392174/week @ 2024-08-19 1339133/week @ 2024-08-26 1294971/week @ 2024-09-02 1339234/week @ 2024-09-09 1336864/week @ 2024-09-16 1391171/week @ 2024-09-23 1693796/week @ 2024-09-30 2075243/week @ 2024-10-07 1933233/week @ 2024-10-14 1537156/week @ 2024-10-21 1382411/week @ 2024-10-28 1390563/week @ 2024-11-04 1364942/week @ 2024-11-11 1352889/week @ 2024-11-18 1195628/week @ 2024-11-25 1410790/week @ 2024-12-02

5,396,686 downloads per month
Used in 31,527 crates (2 directly)

MIT/Apache

135KB
3K 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

~0.5–1MB
~21K SLoC