OpenBSD ports

The devel/cbindgen port

cbindgen-0.26.0 – C bindings generator from rust code

Description

This project can be used to generate C bindings for Rust code:

* Builds bindings for a crate, its mods, its dependent crates, and their mods
* Only the necessary types for exposed functions are given bindings
* Can specify annotations for controlling some aspects of binding
* Support for generic structs and unions
* Support for exporting constants and statics
* Customizable formatting, can be used in C or C++ projects
* Support for generating #ifdef's for #[cfg] attributes
* Support for #[repr(sized)] tagged enum's

WWW: https://github.com/eqrion/cbindgen
Only for arches
aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
devel lang/rust

Library dependencies

Build dependencies

Run dependencies