#cpp #cc #ffi

macro hicc_macros

Safe, efficient, full-featured FFI between Rust and C++

1 unstable release

new 0.1.0 May 6, 2025

#1181 in Procedural macros


Used in 2 crates (via hicc)

MIT/Apache

67KB
2K SLoC

hicc

包含三个项目:

  1. hicc: c++接口转换为rust api的基础功能
  2. hicc-build: 基于hicc的二次开发包含c++代码,提供构建c++代码的功能.
  3. hicc-std: 基于hiccc++标准库中容器操作的大部分接口转换为rust api

具体使用方式参见各个项目cargo doc生成的文档.

Dependencies

~195–630KB
~15K SLoC