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

#1276 in WebAssembly

Download history 867105/week @ 2024-01-03 955210/week @ 2024-01-10 1056213/week @ 2024-01-17 1009296/week @ 2024-01-24 1084226/week @ 2024-01-31 1084401/week @ 2024-02-07 1060487/week @ 2024-02-14 1147019/week @ 2024-02-21 1126912/week @ 2024-02-28 1099450/week @ 2024-03-06 1050328/week @ 2024-03-13 1123141/week @ 2024-03-20 1066297/week @ 2024-03-27 1140316/week @ 2024-04-03 1115646/week @ 2024-04-10 910568/week @ 2024-04-17

4,445,169 downloads per month
Used in 29,651 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