#source #parser #typescript #transforming #deno #transform #mainly

deno-bindgen2-common

Common library used by the deno-bindgen2 project. Contains mainly implmenentations for parsing and transforming Rust source code.

2 stable releases

new 1.0.2 Mar 5, 2025
1.0.1 Nov 14, 2024
1.0.0 Nov 13, 2024

#1137 in Procedural macros

Download history 42/week @ 2024-11-16 17/week @ 2024-11-23 11/week @ 2024-11-30 22/week @ 2024-12-07 3/week @ 2024-12-14 5/week @ 2024-12-28 5/week @ 2025-01-04 1/week @ 2025-01-11 2/week @ 2025-02-01 2/week @ 2025-02-15 134/week @ 2025-03-01

137 downloads per month
Used in 4 crates (2 directly)

MIT license

145KB
3.5K SLoC

deno-bindgen2-common

This library contains common code for parsing and transforming Rust source code. It has two primary consumers: deno-bindgen2-macro and deno-bindgen2-cli

The macro crate uses this library to parse and transform source code and generate FFI symbol wrappers. The cli crate uses this library to parse Rust source code and generate a close analogue for TypeScript.

Dependencies

~10–19MB
~269K SLoC