Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> utils >> cbindgen
nabia  ] [  aramo  ]
[ 源代码: rust-cbindgen  ]

软件包: cbindgen (0.12.1-1build1)

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

This package contains the following binaries built from the Rust crate "cbindgen":

 - cbindgen

其他与 cbindgen 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.18) [amd64]
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
    dep: libc6 (>= 2.28) [armhf]
  • dep: libgcc-s1 (>= 4.2) [amd64]
    GCC support library
    dep: libgcc-s1 (>= 4.3) [armhf]

下载 cbindgen

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 1,232.2 kB4745 kB [文件列表]
armhf 1,016.8 kB3836 kB [文件列表]