Skip to main content

Crate aranya_capi_codegen

Crate aranya_capi_codegen 

Source
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§

attr
Attribute support.
syntax
TODO

Structs§

Config
Configures code generation.
KeyValPair
A key-value pair.

Enums§

BuildError
An error returned when building.

Traits§

IdentExt
Extension trait for Ident.

Functions§

format
Formats a TokenStream as a string.