#macro #cpp

macro cxxbridge-macro

Implementation detail of the cxx crate

204 releases (stable)

new 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

#121 in #cpp

Download history 225789/week @ 2025-01-08 246611/week @ 2025-01-15 225010/week @ 2025-01-22 218995/week @ 2025-01-29 289550/week @ 2025-02-05 366277/week @ 2025-02-12 375156/week @ 2025-02-19 381494/week @ 2025-02-26 382873/week @ 2025-03-05 407203/week @ 2025-03-12 1088106/week @ 2025-03-19 700110/week @ 2025-03-26 581437/week @ 2025-04-02 537736/week @ 2025-04-09 385477/week @ 2025-04-16 342027/week @ 2025-04-23

1,957,668 downloads per month
Used in 456 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
~22K SLoC