cbindgen
Port variant standard
Summary Tool for generating C bindings to Rust code
BROKEN
Package version 0.26.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 22 SEP 2023, 21:25:56 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
Runtime (only) ravensys-gcc:libs:standard (single subpackage)
Download groups
main https://crates.io/api/v1/crates/cbindgen/0.26.0/download?dummy=/
cr01 mirror://CRATES/atty:0.2.14
cr02 mirror://CRATES/autocfg:1.1.0
cr03 mirror://CRATES/bitflags:1.3.2
cr04 mirror://CRATES/cfg-if:1.0.0
cr05 mirror://CRATES/clap:3.2.25
cr06 mirror://CRATES/clap_lex:0.2.4
cr07 mirror://CRATES/fastrand:1.9.0
cr08 mirror://CRATES/hashbrown:0.12.3
cr09 mirror://CRATES/heck:0.4.1
cr10 mirror://CRATES/hermit-abi:0.1.19
cr11 mirror://CRATES/indexmap:1.9.3
cr12 mirror://CRATES/instant:0.1.12
cr13 mirror://CRATES/itoa:1.0.6
cr14 mirror://CRATES/lazy_static:1.4.0
cr15 mirror://CRATES/libc:0.2.144
cr16 mirror://CRATES/lock_api:0.4.9
cr17 mirror://CRATES/log:0.4.17
cr18 mirror://CRATES/os_str_bytes:6.5.0
cr19 mirror://CRATES/parking_lot:0.11.2
cr20 mirror://CRATES/parking_lot_core:0.8.6
cr21 mirror://CRATES/proc-macro2:1.0.66
cr22 mirror://CRATES/quote:1.0.27
cr23 mirror://CRATES/redox_syscall:0.2.16
cr24 mirror://CRATES/remove_dir_all:0.5.3
cr25 mirror://CRATES/ryu:1.0.13
cr26 mirror://CRATES/scopeguard:1.1.0
cr27 mirror://CRATES/serde:1.0.163
cr28 mirror://CRATES/serde_derive:1.0.163
cr29 mirror://CRATES/serde_json:1.0.96
cr30 mirror://CRATES/serial_test:0.5.1
cr31 mirror://CRATES/serial_test_derive:0.5.1
cr32 mirror://CRATES/smallvec:1.10.0
cr33 mirror://CRATES/strsim:0.10.0
cr34 mirror://CRATES/syn:1.0.109
cr35 mirror://CRATES/syn:2.0.16
cr36 mirror://CRATES/tempfile:3.3.0
cr37 mirror://CRATES/termcolor:1.2.0
cr38 mirror://CRATES/textwrap:0.16.0
cr39 mirror://CRATES/toml:0.5.11
cr40 mirror://CRATES/unicode-ident:1.0.8
cr41 mirror://CRATES/winapi:0.3.9
cr42 mirror://CRATES/winapi-i686-pc-windows-gnu:0.4.0
cr43 mirror://CRATES/winapi-util:0.1.5
cr44 mirror://CRATES/winapi-x86_64-pc-windows-gnu:0.4.0
Distribution File Information
da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49 206157 rust/crates/cbindgen-0.26.0.tar.gz d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 5470 rust/crates/atty-0.2.14.tar.gz d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa 13272 rust/crates/autocfg-1.1.0.tar.gz bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a 23021 rust/crates/bitflags-1.3.2.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz 4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123 219403 rust/crates/clap-3.2.25.tar.gz 2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5 9652 rust/crates/clap_lex-0.2.4.tar.gz e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be 11910 rust/crates/fastrand-1.9.0.tar.gz 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888 102968 rust/crates/hashbrown-0.12.3.tar.gz 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 11567 rust/crates/heck-0.4.1.tar.gz 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 9979 rust/crates/hermit-abi-0.1.19.tar.gz bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99 54653 rust/crates/indexmap-1.9.3.tar.gz 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c 6128 rust/crates/instant-0.1.12.tar.gz 453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6 10410 rust/crates/itoa-1.0.6.tar.gz e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 10443 rust/crates/lazy_static-1.4.0.tar.gz 2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1 682092 rust/crates/libc-0.2.144.tar.gz 435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df 25685 rust/crates/lock_api-0.4.9.tar.gz abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e 38028 rust/crates/log-0.4.17.tar.gz ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267 23166 rust/crates/os_str_bytes-6.5.0.tar.gz 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99 39869 rust/crates/parking_lot-0.11.2.tar.gz 60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc 32567 rust/crates/parking_lot_core-0.8.6.tar.gz 18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9 43575 rust/crates/proc-macro2-1.0.66.tar.gz 8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500 28416 rust/crates/quote-1.0.27.tar.gz fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a 24012 rust/crates/redox_syscall-0.2.16.tar.gz 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7 9184 rust/crates/remove_dir_all-0.5.3.tar.gz f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041 46823 rust/crates/ryu-1.0.13.tar.gz d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd 11470 rust/crates/scopeguard-1.1.0.tar.gz 2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2 77030 rust/crates/serde-1.0.163.tar.gz 8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e 54447 rust/crates/serde_derive-1.0.163.tar.gz 057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1 144652 rust/crates/serde_json-1.0.96.tar.gz e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d 2993 rust/crates/serial_test-0.5.1.tar.gz b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5 3609 rust/crates/serial_test_derive-0.5.1.tar.gz a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 31564 rust/crates/smallvec-1.10.0.tar.gz 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 11355 rust/crates/strsim-0.10.0.tar.gz 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237 237611 rust/crates/syn-1.0.109.tar.gz a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01 240928 rust/crates/syn-2.0.16.tar.gz 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4 27578 rust/crates/tempfile-3.3.0.tar.gz be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6 17917 rust/crates/termcolor-1.2.0.tar.gz 222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d 53722 rust/crates/textwrap-0.16.0.tar.gz f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234 54910 rust/crates/toml-0.5.11.tar.gz e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4 41962 rust/crates/unicode-ident-1.0.8.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 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 10164 rust/crates/winapi-util-0.1.5.tar.gz 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f 2947998 rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.tar.gz
Ports that require cbindgen:standard
firefox:standard Mozilla web browser
mozjs128:standard Standalone JS interpreter from Mozilla 128-esr
thunderbird:standard Mozilla Thunderbird mail/newsgroup client