all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: rust-cbindgen  ]

Package: cbindgen (0.26.0-3 and others)

Links for cbindgen

Screenshot

Debian Resources:

Download Source Package rust-cbindgen:

Maintainers:

Similar packages:

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

Other Packages Related to cbindgen

  • depends
  • recommends
  • suggests
  • enhances

Download cbindgen

Download for all available architectures
Architecture Version Package Size Installed Size Files
amd64 0.26.0-3+b1 1,360.1 kB5,019.0 kB [list of files]
arm64 0.26.0-3+b1 1,181.5 kB4,375.0 kB [list of files]
armel 0.26.0-3+b1 1,120.2 kB4,058.0 kB [list of files]
armhf 0.26.0-3+b1 1,119.0 kB3,994.0 kB [list of files]
i386 0.26.0-3+b1 1,472.0 kB5,682.0 kB [list of files]
mips64el 0.26.0-3 1,339.8 kB7,435.0 kB [list of files]
ppc64 (unofficial port) 0.26.0-3+b1 1,316.2 kB6,167.0 kB [list of files]
ppc64el 0.26.0-3+b1 1,384.9 kB5,847.0 kB [list of files]
riscv64 0.26.0-3 1,291.4 kB4,397.0 kB [list of files]
s390x 0.26.0-3 1,669.8 kB7,206.0 kB [list of files]
sparc64 (unofficial port) 0.26.0-3 1,198.2 kB6,169.0 kB [list of files]
x32 (unofficial port) 0.26.0-3+b1 1,335.9 kB4,694.0 kB [list of files]