#macro #cpp

macro cxxbridge-macro

Implementation detail of the cxx crate

197 releases (stable)

new 1.0.151 Mar 26, 2025
1.0.142 Feb 28, 2025
1.0.136 Dec 25, 2024
1.0.131 Nov 22, 2024
0.2.1 Mar 31, 2020

#495 in FFI

Download history 249613/week @ 2024-12-04 253490/week @ 2024-12-11 195603/week @ 2024-12-18 99749/week @ 2024-12-25 161675/week @ 2025-01-01 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 1088259/week @ 2025-03-19

2,336,657 downloads per month
Used in 431 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