cbindgen
Port variant std
Summary Tool for generating C bindings to Rust code
BROKEN
Package version 0.27.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 15 OCT 2024, 04:57:42 UTC
Port created 07 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:std
Runtime (only) ravensys-gcc:libs:std (single subpackage)
Download groups
main https://crates.io/api/v1/crates/cbindgen/0.27.0/download?dummy=/
cr01 mirror://CRATES/anstream:0.6.15
cr02 mirror://CRATES/anstyle:1.0.8
cr03 mirror://CRATES/anstyle-parse:0.2.5
cr04 mirror://CRATES/anstyle-query:1.1.1
cr05 mirror://CRATES/anstyle-wincon:3.0.4
cr06 mirror://CRATES/autocfg:1.3.0
cr07 mirror://CRATES/bitflags:2.6.0
cr08 mirror://CRATES/cfg-if:1.0.0
cr09 mirror://CRATES/clap:4.5.15
cr10 mirror://CRATES/clap_builder:4.5.15
cr11 mirror://CRATES/clap_lex:0.7.2
cr12 mirror://CRATES/colorchoice:1.0.2
cr13 mirror://CRATES/dashmap:5.5.3
cr14 mirror://CRATES/diff:0.1.13
cr15 mirror://CRATES/equivalent:1.0.1
cr16 mirror://CRATES/errno:0.3.9
cr17 mirror://CRATES/fastrand:2.1.0
cr18 mirror://CRATES/hashbrown:0.14.5
cr19 mirror://CRATES/heck:0.4.1
cr20 mirror://CRATES/indexmap:2.3.0
cr21 mirror://CRATES/is_terminal_polyfill:1.70.1
cr22 mirror://CRATES/itoa:1.0.11
cr23 mirror://CRATES/lazy_static:1.5.0
cr24 mirror://CRATES/libc:0.2.155
cr25 mirror://CRATES/linux-raw-sys:0.4.14
cr26 mirror://CRATES/lock_api:0.4.12
cr27 mirror://CRATES/log:0.4.22
cr28 mirror://CRATES/memchr:2.7.4
cr29 mirror://CRATES/once_cell:1.19.0
cr30 mirror://CRATES/parking_lot:0.12.3
cr31 mirror://CRATES/parking_lot_core:0.9.10
cr32 mirror://CRATES/pretty_assertions:1.4.0
cr33 mirror://CRATES/proc-macro2:1.0.86
cr34 mirror://CRATES/quote:1.0.36
cr35 mirror://CRATES/redox_syscall:0.5.3
cr36 mirror://CRATES/rustix:0.38.34
cr37 mirror://CRATES/ryu:1.0.18
cr38 mirror://CRATES/scopeguard:1.2.0
cr39 mirror://CRATES/serde:1.0.205
cr40 mirror://CRATES/serde_derive:1.0.205
cr41 mirror://CRATES/serde_json:1.0.122
cr42 mirror://CRATES/serde_spanned:0.6.7
cr43 mirror://CRATES/serial_test:2.0.0
cr44 mirror://CRATES/serial_test_derive:2.0.0
cr45 mirror://CRATES/smallvec:1.13.2
cr46 mirror://CRATES/strsim:0.11.1
cr47 mirror://CRATES/syn:2.0.72
cr48 mirror://CRATES/tempfile:3.12.0
cr49 mirror://CRATES/toml:0.8.19
cr50 mirror://CRATES/toml_datetime:0.6.8
cr51 mirror://CRATES/toml_edit:0.22.20
cr52 mirror://CRATES/unicode-ident:1.0.12
cr53 mirror://CRATES/utf8parse:0.2.2
cr54 mirror://CRATES/windows-sys:0.52.0
cr55 mirror://CRATES/windows-sys:0.59.0
cr56 mirror://CRATES/windows-targets:0.52.6
cr57 mirror://CRATES/windows_aarch64_gnullvm:0.52.6
cr58 mirror://CRATES/windows_aarch64_msvc:0.52.6
cr59 mirror://CRATES/windows_i686_gnu:0.52.6
cr60 mirror://CRATES/windows_i686_gnullvm:0.52.6
cr61 mirror://CRATES/windows_i686_msvc:0.52.6
cr62 mirror://CRATES/windows_x86_64_gnu:0.52.6
cr63 mirror://CRATES/windows_x86_64_gnullvm:0.52.6
cr64 mirror://CRATES/windows_x86_64_msvc:0.52.6
cr65 mirror://CRATES/winnow:0.6.18
cr66 mirror://CRATES/yansi:0.5.1
Distribution File Information
3fce8dd7fcfcbf3a0a87d8f515194b49d6135acab73e18bd380d1d93bb1a15eb 215957 rust/crates/cbindgen-0.27.0.tar.gz 64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526 29231 rust/crates/anstream-0.6.15.tar.gz 1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1 15771 rust/crates/anstyle-1.0.8.tar.gz eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb 22680 rust/crates/anstyle-parse-0.2.5.tar.gz 6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a 9891 rust/crates/anstyle-query-1.1.1.tar.gz 5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8 12234 rust/crates/anstyle-wincon-3.0.4.tar.gz 0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0 16524 rust/crates/autocfg-1.3.0.tar.gz b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de 45357 rust/crates/bitflags-2.6.0.tar.gz baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd 7934 rust/crates/cfg-if-1.0.0.tar.gz 11d8838454fda655dafd3accb2b6e2bea645b9e4078abe84a22ceb947235c5cc 56612 rust/crates/clap-4.5.15.tar.gz 216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6 163717 rust/crates/clap_builder-4.5.15.tar.gz 1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97 12805 rust/crates/clap_lex-0.7.2.tar.gz d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0 7924 rust/crates/colorchoice-1.0.2.tar.gz 978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856 24061 rust/crates/dashmap-5.5.3.tar.gz 56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8 46216 rust/crates/diff-0.1.13.tar.gz 5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5 6615 rust/crates/equivalent-1.0.1.tar.gz 534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba 10690 rust/crates/errno-0.3.9.tar.gz 9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a 14907 rust/crates/fastrand-2.1.0.tar.gz e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1 141498 rust/crates/hashbrown-0.14.5.tar.gz 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 11567 rust/crates/heck-0.4.1.tar.gz de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0 83027 rust/crates/indexmap-2.3.0.tar.gz 7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf 7492 rust/crates/is_terminal_polyfill-1.70.1.tar.gz 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b 10563 rust/crates/itoa-1.0.11.tar.gz bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe 14025 rust/crates/lazy_static-1.5.0.tar.gz 97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c 743539 rust/crates/libc-0.2.155.tar.gz 78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89 1826665 rust/crates/linux-raw-sys-0.4.14.tar.gz 07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17 27591 rust/crates/lock_api-0.4.12.tar.gz a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24 44027 rust/crates/log-0.4.22.tar.gz 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3 96670 rust/crates/memchr-2.7.4.tar.gz 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92 33046 rust/crates/once_cell-1.19.0.tar.gz f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27 41860 rust/crates/parking_lot-0.12.3.tar.gz 1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8 32406 rust/crates/parking_lot_core-0.9.10.tar.gz af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66 78846 rust/crates/pretty_assertions-1.4.0.tar.gz 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77 48958 rust/crates/proc-macro2-1.0.86.tar.gz 0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7 28507 rust/crates/quote-1.0.36.tar.gz 2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4 23830 rust/crates/redox_syscall-0.5.3.tar.gz 70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f 365160 rust/crates/rustix-0.38.34.tar.gz f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f 47713 rust/crates/ryu-1.0.18.tar.gz 94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49 11619 rust/crates/scopeguard-1.2.0.tar.gz e33aedb1a7135da52b7c21791455563facbbcc43d0f0f66165b42c21b3dfb150 78248 rust/crates/serde-1.0.205.tar.gz 692d6f5ac90220161d6774db30c662202721e64aed9058d2c394f451261420c1 55886 rust/crates/serde_derive-1.0.205.tar.gz 784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da 147200 rust/crates/serde_json-1.0.122.tar.gz eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d 9164 rust/crates/serde_spanned-0.6.7.tar.gz 0e56dd856803e253c8f298af3f4d7eb0ae5e23a737252cd90bb4f3b435033b2d 7946 rust/crates/serial_test-2.0.0.tar.gz 91d129178576168c589c9ec973feedf7d3126c01ac2bf08795109aa35b69fb8f 5638 rust/crates/serial_test_derive-2.0.0.tar.gz 3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67 35216 rust/crates/smallvec-1.13.2.tar.gz 7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f 14266 rust/crates/strsim-0.11.1.tar.gz dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af 267069 rust/crates/syn-2.0.72.tar.gz 04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64 34423 rust/crates/tempfile-3.12.0.tar.gz a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e 50974 rust/crates/toml-0.8.19.tar.gz 0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41 12028 rust/crates/toml_datetime-0.6.8.tar.gz 583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d 106726 rust/crates/toml_edit-0.22.20.tar.gz 3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b 42168 rust/crates/unicode-ident-1.0.12.tar.gz 06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821 13499 rust/crates/utf8parse-0.2.2.tar.gz 282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d 2576877 rust/crates/windows-sys-0.52.0.tar.gz 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b 2387323 rust/crates/windows-sys-0.59.0.tar.gz 9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973 6403 rust/crates/windows-targets-0.52.6.tar.gz 32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3 435718 rust/crates/windows_aarch64_gnullvm-0.52.6.tar.gz 09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469 832615 rust/crates/windows_aarch64_msvc-0.52.6.tar.gz 8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b 880402 rust/crates/windows_i686_gnu-0.52.6.tar.gz 0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66 475940 rust/crates/windows_i686_gnullvm-0.52.6.tar.gz 240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66 901163 rust/crates/windows_i686_msvc-0.52.6.tar.gz 147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78 836363 rust/crates/windows_x86_64_gnu-0.52.6.tar.gz 24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d 435707 rust/crates/windows_x86_64_gnullvm-0.52.6.tar.gz 589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec 832564 rust/crates/windows_x86_64_msvc-0.52.6.tar.gz 68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f 163357 rust/crates/winnow-0.6.18.tar.gz 09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec 16525 rust/crates/yansi-0.5.1.tar.gz
Ports that require cbindgen:std
firefox:std Mozilla web browser
mozjs128:std Standalone JS interpreter from Mozilla 128-esr
thunderbird:std Mozilla Thunderbird mail/newsgroup client