cbindgen
Port variant standard
Summary Tool for generating C bindings to Rust code
Package version 0.20.0
Homepage https://github.com/eqrion/cbindgen
Keywords rust, devel
Maintainer nobody
License MPL
Other variants There are no other variants.
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 03 AUG 2021, 02:16:08 UTC
Port created 06 FEB 2019, 01:14:52 UTC
Subpackage Descriptions
single cbindgen generates C bindings from Rust code. Unlike rusty-cheddar it supports generics, C++ enum class and template specialization as well as multiple modules and crates. It's primarily developed for WebRender but has been designed to support any project. Features: * Builds bindings for a crate, mods, 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
Configuration Switches (platform-specific settings discarded)
This port has no build options.
Package Dependencies by Type
Build (only) rust:single:standard
libiconv:shared:standard (linux)
Runtime (only) gcc9:libs:standard (single subpackage)
Download groups
main https://crates.io/api/v1/crates/cbindgen/0.20.0/download?dummy=/
cr01 mirror://CRATES/ansi_term:0.11.0
cr02 mirror://CRATES/atty:0.2.14
cr03 mirror://CRATES/autocfg:1.0.1
cr04 mirror://CRATES/bitflags:1.2.1
cr05 mirror://CRATES/cfg-if:0.1.10
cr06 mirror://CRATES/clap:2.33.3
cr07 mirror://CRATES/cloudabi:0.0.3
cr08 mirror://CRATES/getrandom:0.1.15
cr09 mirror://CRATES/hashbrown:0.9.1
cr10 mirror://CRATES/heck:0.3.1
cr11 mirror://CRATES/hermit-abi:0.1.16
cr12 mirror://CRATES/indexmap:1.6.0
cr13 mirror://CRATES/itoa:0.4.6
cr14 mirror://CRATES/lazy_static:1.4.0
cr15 mirror://CRATES/libc:0.2.77
cr16 mirror://CRATES/lock_api:0.3.4
cr17 mirror://CRATES/log:0.4.11
cr18 mirror://CRATES/parking_lot:0.10.2
cr19 mirror://CRATES/parking_lot_core:0.7.2
cr20 mirror://CRATES/ppv-lite86:0.2.9
cr21 mirror://CRATES/proc-macro2:1.0.21
cr22 mirror://CRATES/quote:1.0.7
cr23 mirror://CRATES/rand:0.7.3
cr24 mirror://CRATES/rand_chacha:0.2.2
cr25 mirror://CRATES/rand_core:0.5.1
cr26 mirror://CRATES/rand_hc:0.2.0
cr27 mirror://CRATES/redox_syscall:0.1.57
cr28 mirror://CRATES/remove_dir_all:0.5.3
cr29 mirror://CRATES/ryu:1.0.5
cr30 mirror://CRATES/scopeguard:1.1.0
cr31 mirror://CRATES/serde:1.0.116
cr32 mirror://CRATES/serde_derive:1.0.116
cr33 mirror://CRATES/serde_json:1.0.57
cr34 mirror://CRATES/serial_test:0.5.0
cr35 mirror://CRATES/serial_test_derive:0.5.0
cr36 mirror://CRATES/smallvec:1.4.2
cr37 mirror://CRATES/strsim:0.8.0
cr38 mirror://CRATES/syn:1.0.41
cr39 mirror://CRATES/tempfile:3.1.0
cr40 mirror://CRATES/textwrap:0.11.0
cr41 mirror://CRATES/toml:0.5.6
cr42 mirror://CRATES/unicode-segmentation:1.6.0
cr43 mirror://CRATES/unicode-width:0.1.8
cr44 mirror://CRATES/unicode-xid:0.2.1
cr45 mirror://CRATES/vec_map:0.8.2
cr46 mirror://CRATES/wasi-0.9.0+wasi-snapshot:preview1
cr47 mirror://CRATES/winapi:0.3.9
cr48 mirror://CRATES/winapi-i686-pc-windows-gnu:0.4.0
cr49 mirror://CRATES/winapi-x86_64-pc-windows-gnu:0.4.0
cr50 mirror://CRATES/gcc:0.3.55
cr51 mirror://CRATES/errno-dragonfly:0.1.1
Distribution File Information
51e3973b165dc0f435831a9e426de67e894de532754ff7a3f307c03ee5dec7dc 183277 rust/crates/cbindgen-0.20.0.tar.gz ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b 17087 rust/crates/ansi_term-0.11.0.tar.gz d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 5470 rust/crates/atty-0.2.14.tar.gz cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a 12908 rust/crates/autocfg-1.0.1.tar.gz cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 16745 rust/crates/bitflags-1.2.1.tar.gz 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 7933 rust/crates/cfg-if-0.1.10.tar.gz 37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002 201925 rust/crates/clap-2.33.3.tar.gz ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f 22156 rust/crates/cloudabi-0.0.3.tar.gz fc587bc0ec293155d5bfa6b9891ec18a1e330c234f896ea47fbada4cadbe47e6 24786 rust/crates/getrandom-0.1.15.tar.gz d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04 77734 rust/crates/hashbrown-0.9.1.tar.gz 20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205 54666 rust/crates/heck-0.3.1.tar.gz 4c30f6d0bc6b00693347368a67d41b58f2fb851215ff1da49e90fe2c5c667151 9889 rust/crates/hermit-abi-0.1.16.tar.gz 55e2e4c765aa53a0424761bf9f41aa7a6ac1efa87238f59560640e27fca028f2 47565 rust/crates/indexmap-1.6.0.tar.gz dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6 12167 rust/crates/itoa-0.4.6.tar.gz e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 10443 rust/crates/lazy_static-1.4.0.tar.gz f2f96b10ec2560088a8e76961b00d47107b3a625fecb76dedb29ee7ccbf98235 507233 rust/crates/libc-0.2.77.tar.gz c4da24a77a3d8a6d4862d95f72e6fdb9c09a643ecdb402d754004a557f2bec75 18750 rust/crates/lock_api-0.3.4.tar.gz 4fabed175da42fed1fa0746b0ea71f412aa9d35e76e95e59b192c64b9dc2bf8b 36276 rust/crates/log-0.4.11.tar.gz d3a704eb390aafdc107b0e392f56a82b668e3a71366993b5340f5833fd62505e 39536 rust/crates/parking_lot-0.10.2.tar.gz d58c7c768d4ba344e3e8d72518ac13e259d7c7ade24167003b8488e10b6740a3 33875 rust/crates/parking_lot_core-0.7.2.tar.gz c36fa947111f5c62a733b652544dd0016a43ce89619538a8ef92724a6f501a20 20933 rust/crates/ppv-lite86-0.2.9.tar.gz 36e28516df94f3dd551a587da5357459d9b36d945a7c37c3557928c1c2ff2a2c 36909 rust/crates/proc-macro2-1.0.21.tar.gz aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37 25170 rust/crates/quote-1.0.7.tar.gz 6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03 112246 rust/crates/rand-0.7.3.tar.gz f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402 13267 rust/crates/rand_chacha-0.2.2.tar.gz 90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19 21116 rust/crates/rand_core-0.5.1.tar.gz ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c 11670 rust/crates/rand_hc-0.2.0.tar.gz 41cc0f7e4d5d4544e8861606a285bb08d3e70712ccc7d2b84d7c0ccfaf4b05ce 17087 rust/crates/redox_syscall-0.1.57.tar.gz 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7 9184 rust/crates/remove_dir_all-0.5.3.tar.gz 71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e 49570 rust/crates/ryu-1.0.5.tar.gz d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd 11470 rust/crates/scopeguard-1.1.0.tar.gz 96fe57af81d28386a513cbc6858332abc6117cfdb5999647c6444b8f43a370a5 74443 rust/crates/serde-1.0.116.tar.gz f630a6370fd8e457873b4bd2ffdae75408bc291ba72be773772a4c2a065d9ae8 50697 rust/crates/serde_derive-1.0.116.tar.gz 164eacbdb13512ec2745fb09d51fd5b22b0d65ed294a1dcf7285a360c80a675c 114723 rust/crates/serde_json-1.0.57.tar.gz 1b15f74add9a9d4a3eb2bf739c9a427d266d3895b53d992c3a7c234fec2ff1f1 2305 rust/crates/serial_test-0.5.0.tar.gz 65f59259be9fc1bf677d06cc1456e97756004a1a5a577480f71430bd7c17ba33 2899 rust/crates/serial_test_derive-0.5.0.tar.gz fbee7696b84bbf3d89a1c2eccff0850e3047ed46bfcd2e92c29a2d074d57e252 26109 rust/crates/smallvec-1.4.2.tar.gz 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a 9309 rust/crates/strsim-0.8.0.tar.gz 6690e3e9f692504b941dc6c3b188fd28df054f7fb8469ab40680df52fdcc842b 224979 rust/crates/syn-1.0.41.tar.gz 7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9 25823 rust/crates/tempfile-3.1.0.tar.gz d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 17322 rust/crates/textwrap-0.11.0.tar.gz ffc92d160b1eef40665be3a05630d003936a3bc7da7421277846c2613e92c71a 54341 rust/crates/toml-0.5.6.tar.gz e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0 90703 rust/crates/unicode-segmentation-1.6.0.tar.gz 9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3 16732 rust/crates/unicode-width-0.1.8.tar.gz f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564 14392 rust/crates/unicode-xid-0.2.1.tar.gz f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191 14466 rust/crates/vec_map-0.8.2.tar.gz cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519 31521 rust/crates/wasi-0.9.0+wasi-snapshot-preview1.tar.gz 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 1200382 rust/crates/winapi-0.3.9.tar.gz ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 2918815 rust/crates/winapi-i686-pc-windows-gnu-0.4.0.tar.gz 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f 2947998 rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz 8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2 37262 rust/crates/gcc-0.3.55.tar.gz 14ca354e36190500e1e1fb267c647932382b54053c50b14970856c0b00a35067 1370 rust/crates/errno-dragonfly-0.1.1.tar.gz
Ports that require cbindgen:standard
firefox:standard Mozilla web browser
thunderbird:standard Mozilla Thunderbird mail/newsgroup client