101 releases

new 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

#1368 in WebAssembly

Download history 1478042/week @ 2024-09-27 1968276/week @ 2024-10-04 1839538/week @ 2024-10-11 1916369/week @ 2024-10-18 1449248/week @ 2024-10-25 1365605/week @ 2024-11-01 1344747/week @ 2024-11-08 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 1419873/week @ 2025-01-10

4,500,841 downloads per month
Used in 39,603 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
~20K SLoC