101 releases

0.2.100 Jan 12, 2025
0.2.99 Dec 7, 2024
0.2.97 Nov 30, 2024
0.2.92 Mar 4, 2024
0.2.15 Jul 26, 2018

#1509 in WebAssembly

Download history 1378426/week @ 2024-11-15 1243351/week @ 2024-11-22 1337889/week @ 2024-11-29 1471108/week @ 2024-12-06 1403437/week @ 2024-12-13 776824/week @ 2024-12-20 762251/week @ 2024-12-27 1300634/week @ 2025-01-03 1721721/week @ 2025-01-10 1577689/week @ 2025-01-17 1647646/week @ 2025-01-24 1755847/week @ 2025-01-31 1909478/week @ 2025-02-07 1746989/week @ 2025-02-14 1943433/week @ 2025-02-21 1669890/week @ 2025-02-28

7,583,501 downloads per month
Used in 41,612 crates (2 directly)

MIT/Apache

140KB
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.4–1MB
~19K SLoC