#ffi #codegen

diplomat_core

Shared utilities between Diplomat macros and code generation

9 unstable releases (4 breaking)

0.5.0 Jan 17, 2023
0.4.4 Oct 28, 2022
0.4.0 Sep 26, 2022
0.3.0 Apr 29, 2022
0.1.0 Aug 2, 2021

#725 in Development tools

Download history 40/week @ 2022-11-27 47/week @ 2022-12-04 121/week @ 2022-12-11 83/week @ 2022-12-18 53/week @ 2022-12-25 55/week @ 2023-01-01 79/week @ 2023-01-08 1594/week @ 2023-01-15 2671/week @ 2023-01-22 4831/week @ 2023-01-29 3605/week @ 2023-02-05 3742/week @ 2023-02-12 3679/week @ 2023-02-19 3225/week @ 2023-02-26 3626/week @ 2023-03-05 2439/week @ 2023-03-12

13,526 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

255KB
5.5K SLoC

The Diplomat core module contains common logic between the macro expansion and code generation. Right now, this is primarily the AST types that Diplomat generates while extracting APIs.

Dependencies

~0.9–1.4MB
~34K SLoC