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

#1437 in WebAssembly

Download history 1457229/week @ 2024-09-22 1598383/week @ 2024-09-29 2043906/week @ 2024-10-06 1899896/week @ 2024-10-13 1706171/week @ 2024-10-20 1380493/week @ 2024-10-27 1397253/week @ 2024-11-03 1358752/week @ 2024-11-10 1357519/week @ 2024-11-17 1183381/week @ 2024-11-24 1410888/week @ 2024-12-01 1479213/week @ 2024-12-08 1362310/week @ 2024-12-15 679461/week @ 2024-12-22 831383/week @ 2024-12-29 1423939/week @ 2025-01-05

4,390,389 downloads per month
Used in 39,489 crates (2 directly)

MIT/Apache

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