#cpp #macro #generator #detail

macro cxxbridge-macro

Implementation detail of the cxx crate

183 releases (stable)

new 1.0.137 Jan 19, 2025
1.0.136 Dec 25, 2024
1.0.131 Nov 22, 2024
1.0.124 Jun 14, 2024
0.2.1 Mar 31, 2020

#359 in FFI

Download history 244366/week @ 2024-09-30 252088/week @ 2024-10-07 259542/week @ 2024-10-14 265502/week @ 2024-10-21 242539/week @ 2024-10-28 247101/week @ 2024-11-04 263229/week @ 2024-11-11 243139/week @ 2024-11-18 196922/week @ 2024-11-25 249551/week @ 2024-12-02 249260/week @ 2024-12-09 240046/week @ 2024-12-16 110015/week @ 2024-12-23 117296/week @ 2024-12-30 223184/week @ 2025-01-06 245136/week @ 2025-01-13

704,943 downloads per month
Used in 399 crates (via cxx)

MIT/Apache

310KB
8K SLoC

This directory contains CXX's Rust code generator, which is a procedural macro. Users won't depend on this crate directly. Instead they'll invoke its macro through the reexport in the main cxx crate.

Dependencies

~0.2–1.2MB
~23K SLoC