Expand description
Generate C APIs from Rust code.
§Overview
capi-codegen generates much of the Rust boilerplate needed
when exposing Rust to C.
§Usage
This crate is designed to be used from a build script.
Modules§
Structs§
- Config
- Configures code generation.
- KeyVal
Pair - A key-value pair.
Enums§
- Build
Error - An error returned when building.
Traits§
Functions§
- format
- Formats a
TokenStreamas a string.