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

#1296 in WebAssembly

Download history 1027774/week @ 2024-01-26 1092398/week @ 2024-02-02 1079006/week @ 2024-02-09 1063992/week @ 2024-02-16 1158303/week @ 2024-02-23 1128129/week @ 2024-03-01 1073595/week @ 2024-03-08 1078676/week @ 2024-03-15 1121682/week @ 2024-03-22 1092982/week @ 2024-03-29 1105401/week @ 2024-04-05 1121990/week @ 2024-04-12 1113816/week @ 2024-04-19 1040415/week @ 2024-04-26 1055930/week @ 2024-05-03 884459/week @ 2024-05-10

4,292,316 downloads per month
Used in 30,796 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.5–1.1MB
~22K SLoC