Binary package “cbindgen” in ubuntu mantic
Generates C bindings from Rust code
cbindgen can be used to generate C bindings for Rust code.
It is currently being developed to support creating bindings for
WebRender (by Mozilla for Firefox), but has been designed to support
any project.
.
Features:
.
* 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
Source package
Published versions
- cbindgen 0.24.3-2 in amd64 (Release)
- cbindgen 0.24.5-1 in amd64 (Proposed)
- cbindgen 0.24.5-1 in amd64 (Release)
- cbindgen 0.24.3-2 in arm64 (Release)
- cbindgen 0.24.5-1 in arm64 (Proposed)
- cbindgen 0.24.5-1 in arm64 (Release)
- cbindgen 0.24.3-2 in armhf (Release)
- cbindgen 0.24.5-1 in armhf (Proposed)
- cbindgen 0.24.5-1 in armhf (Release)
- cbindgen 0.24.3-2 in ppc64el (Release)
- cbindgen 0.24.5-1 in ppc64el (Proposed)
- cbindgen 0.24.5-1 in ppc64el (Release)
- cbindgen 0.24.3-2 in riscv64 (Release)
- cbindgen 0.24.5-1 in riscv64 (Proposed)
- cbindgen 0.24.5-1 in riscv64 (Release)
- cbindgen 0.24.3-2 in s390x (Release)
- cbindgen 0.24.5-1 in s390x (Proposed)
- cbindgen 0.24.5-1 in s390x (Release)