cbindgen
Port variant standard
Summary Tool for generating C bindings to Rust code
Package version 0.14.2
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 01 MAY 2020, 14:43:05 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
cr16 mirror://CRATES/rand_chacha:0.2.1
cr17 mirror://CRATES/rand_core:0.5.1
cr18 mirror://CRATES/rand_hc:0.2.0
cr19 mirror://CRATES/redox_syscall:0.1.56
cr01 mirror://CRATES/ansi_term:0.11.0
cr02 mirror://CRATES/atty:0.2.13
cr03 mirror://CRATES/bitflags:1.2.1
cr04 mirror://CRATES/c2-chacha:0.2.3
cr05 mirror://CRATES/cfg-if:0.1.10
cr06 mirror://CRATES/clap:2.33.0
cr07 mirror://CRATES/getrandom:0.1.13
main https://crates.io/api/v1/crates/cbindgen/0.14.2/download?dummy=/
cr08 mirror://CRATES/heck:0.3.1
cr30 mirror://CRATES/unicode-segmentation:1.6.0
cr09 mirror://CRATES/itoa:0.4.4
cr31 mirror://CRATES/unicode-width:0.1.7
cr32 mirror://CRATES/unicode-xid:0.2.0
cr33 mirror://CRATES/vec_map:0.8.1
cr34 mirror://CRATES/wasi:0.7.0
cr35 mirror://CRATES/winapi:0.3.8
cr36 mirror://CRATES/winapi-i686-pc-windows-gnu:0.4.0
cr37 mirror://CRATES/winapi-x86_64-pc-windows-gnu:0.4.0
cr38 mirror://CRATES/gcc:0.3.55
cr39 mirror://CRATES/errno-dragonfly:0.1.1
cr20 mirror://CRATES/remove_dir_all:0.5.2
cr21 mirror://CRATES/ryu:1.0.2
cr22 mirror://CRATES/serde:1.0.104
cr23 mirror://CRATES/serde_derive:1.0.104
cr24 mirror://CRATES/serde_json:1.0.44
cr25 mirror://CRATES/strsim:0.8.0
cr26 mirror://CRATES/syn:1.0.11
cr27 mirror://CRATES/tempfile:3.1.0
cr28 mirror://CRATES/textwrap:0.11.0
cr29 mirror://CRATES/toml:0.5.5
cr10 mirror://CRATES/libc:0.2.66
cr11 mirror://CRATES/log:0.4.8
cr12 mirror://CRATES/ppv-lite86:0.2.6
cr13 mirror://CRATES/proc-macro2:1.0.6
cr14 mirror://CRATES/quote:1.0.2
cr15 mirror://CRATES/rand:0.7.2
Distribution File Information
104ca409bbff8293739438c71820a2606111b5f8f81835536dc673dfd807369e 165699 rust/crates/cbindgen-0.14.2.tar.gz ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b 17087 rust/crates/ansi_term-0.11.0.tar.gz 1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90 4764 rust/crates/atty-0.2.13.tar.gz cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693 16745 rust/crates/bitflags-1.2.1.tar.gz 214238caa1bf3a496ec3392968969cab8549f96ff30652c9e56885329315f6bb 13336 rust/crates/c2-chacha-0.2.3.tar.gz 4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822 7933 rust/crates/cfg-if-0.1.10.tar.gz 5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9 196458 rust/crates/clap-2.33.0.tar.gz e7db7ca94ed4cd01190ceee0d8a8052f08a247aa1b469a7f68c6a3b71afcf407 24581 rust/crates/getrandom-0.1.13.tar.gz 20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205 54666 rust/crates/heck-0.3.1.tar.gz 501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f 11147 rust/crates/itoa-0.4.4.tar.gz d515b1f41455adea1313a4a2ac8a8a477634fbae63cc6100e3aebb207ce61558 457815 rust/crates/libc-0.2.66.tar.gz 14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7 31297 rust/crates/log-0.4.8.tar.gz 74490b50b9fbe561ac330df47c08f3f33073d2d00c150f719147d7c54522fa1b 20522 rust/crates/ppv-lite86-0.2.6.tar.gz 9c9e470a8dc4aeae2dee2f335e8f533e2d4b347e1434e5671afc49b054592f27 35414 rust/crates/proc-macro2-1.0.6.tar.gz 053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe 23023 rust/crates/quote-1.0.2.tar.gz 3ae1b169243eaf61759b8475a998f0a385e42042370f3a7dbaf35246eacc8412 111438 rust/crates/rand-0.7.2.tar.gz 03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853 11475 rust/crates/rand_chacha-0.2.1.tar.gz 90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19 21116 rust/crates/rand_core-0.5.1.tar.gz ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c 11670 rust/crates/rand_hc-0.2.0.tar.gz 2439c63f3f6139d1b57529d16bc3b8bb855230c8efcc5d3a896c8bea7c3b1e84 17117 rust/crates/redox_syscall-0.1.56.tar.gz 4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e 8907 rust/crates/remove_dir_all-0.5.2.tar.gz bfa8506c1de11c9c4e4c38863ccbe02a305c8188e85a05a784c9e11e1c3910c8 42001 rust/crates/ryu-1.0.2.tar.gz 414115f25f818d7dfccec8ee535d76949ae78584fc4f79a6f45a904bf8ab4449 73258 rust/crates/serde-1.0.104.tar.gz 128f9e303a5a29922045a830221b8f78ec74a5f544944f3d5984f8ec3895ef64 49658 rust/crates/serde_derive-1.0.104.tar.gz 48c575e0cc52bdd09b47f330f646cf59afc586e9c4e3ccd6fc1f625b8ea1dad7 70325 rust/crates/serde_json-1.0.44.tar.gz 8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a 9309 rust/crates/strsim-0.8.0.tar.gz dff0acdb207ae2fe6d5976617f887eb1e35a2ba52c13c7234c790960cdad9238 193782 rust/crates/syn-1.0.11.tar.gz 7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9 25823 rust/crates/tempfile-3.1.0.tar.gz d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060 17322 rust/crates/textwrap-0.11.0.tar.gz 01d1404644c8b12b16bfcffa4322403a91a451584daaaa7c28d3152e6cbc98cf 54805 rust/crates/toml-0.5.5.tar.gz e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0 90703 rust/crates/unicode-segmentation-1.6.0.tar.gz caaa9d531767d1ff2150b9332433f32a24622147e5ebb1f26409d5da67afd479 16644 rust/crates/unicode-width-0.1.7.tar.gz 826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c 14994 rust/crates/unicode-xid-0.2.0.tar.gz 05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a 14959 rust/crates/vec_map-0.8.1.tar.gz b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d 33941 rust/crates/wasi-0.7.0.tar.gz 8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6 1128308 rust/crates/winapi-0.3.8.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