#macro #cpp

macro cxxbridge-macro

Implementation detail of the cxx crate

204 releases (stable)

1.0.158 Apr 24, 2025
1.0.153 Mar 30, 2025
1.0.136 Dec 25, 2024
1.0.131 Nov 22, 2024
0.2.1 Mar 31, 2020

#127 in #cpp

Download history 238181/week @ 2025-01-31 342316/week @ 2025-02-07 352560/week @ 2025-02-14 370672/week @ 2025-02-21 397569/week @ 2025-02-28 395096/week @ 2025-03-07 395179/week @ 2025-03-14 1272333/week @ 2025-03-21 573979/week @ 2025-03-28 585630/week @ 2025-04-04 481706/week @ 2025-04-11 390795/week @ 2025-04-18 384388/week @ 2025-04-25 381543/week @ 2025-05-02 377913/week @ 2025-05-09 306553/week @ 2025-05-16

1,530,357 downloads per month
Used in 460 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.1MB
~21K SLoC