Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> utils >> cbindgen
nabia  ] [  aramo  ]
[ 原始碼: rust-cbindgen  ]

套件: cbindgen (0.20.0-1)

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

其他與 cbindgen 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • dep: libgcc-s1 (>= 4.2)
    GCC support library

下載 cbindgen

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 1,448.1 kB5205 kB [文件列表]