93 releases

0.2.92 Mar 4, 2024
0.2.90 Jan 12, 2024
0.2.89 Nov 27, 2023
0.2.87 Jun 12, 2023
0.2.15 Jul 26, 2018

#1306 in WebAssembly

Download history 1017180/week @ 2024-01-20 1046600/week @ 2024-01-27 1099110/week @ 2024-02-03 1070037/week @ 2024-02-10 1087817/week @ 2024-02-17 1148024/week @ 2024-02-24 1115268/week @ 2024-03-02 1070386/week @ 2024-03-09 1080418/week @ 2024-03-16 1110396/week @ 2024-03-23 1121299/week @ 2024-03-30 1102136/week @ 2024-04-06 1116602/week @ 2024-04-13 1116357/week @ 2024-04-20 1027727/week @ 2024-04-27 1055940/week @ 2024-05-04

4,509,754 downloads per month
Used in 31,696 crates (2 directly)

MIT/Apache

120KB
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

~0.6–1.1MB
~23K SLoC