Skip to content
Sections
>> Trisquel >> Paquets >> aramo >> utils >> cbindgen
nabia  ] [  aramo  ]
[ Paquet source : rust-cbindgen  ]

Paquet : 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

Autres paquets associés à cbindgen

  • dépendances
  • recommandations
  • suggestions
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc6-udeb
  • dep: libgcc-s1 (>= 4.2) [non armhf]
    GCC support library
    dep: libgcc-s1 (>= 4.3) [armhf]

Télécharger cbindgen

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 1 448,1 ko5205 ko [liste des fichiers]
arm64 1 297,8 ko4289 ko [liste des fichiers]
armhf 1 268,5 ko4032 ko [liste des fichiers]
ppc64el 1 587,0 ko5969 ko [liste des fichiers]