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

#1315 in WebAssembly

Download history 1062786/week @ 2024-03-14 1118254/week @ 2024-03-21 1084970/week @ 2024-03-28 1127452/week @ 2024-04-04 1114660/week @ 2024-04-11 1109001/week @ 2024-04-18 1050656/week @ 2024-04-25 1070703/week @ 2024-05-02 1054221/week @ 2024-05-09 1110894/week @ 2024-05-16 1058837/week @ 2024-05-23 1184758/week @ 2024-05-30 1154447/week @ 2024-06-06 1174185/week @ 2024-06-13 1197953/week @ 2024-06-20 997985/week @ 2024-06-27

4,753,725 downloads per month
Used in 33,096 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–1MB
~22K SLoC