notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2024Q4
rust-cbindgen Generate C bindings from Rust code
0.26.0_11 devel on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.26.0_9Version of this port present on the latest quarterly branch.
Maintainer: gecko@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2018-08-19 16:41:23
Last Update: 2024-12-01 09:24:18
Commit Hash: 1d1fd15
People watching this port, also watch:: libevent, libexif, autoconf, libXdamage, indexinfo
License: MPL20
WWW:
https://github.com/mozilla/cbindgen
Description:
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, 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
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. bin/cbindgen
  2. /usr/local/share/licenses/rust-cbindgen-0.26.0_11/catalog.mk
  3. /usr/local/share/licenses/rust-cbindgen-0.26.0_11/LICENSE
  4. /usr/local/share/licenses/rust-cbindgen-0.26.0_11/MPL20
Collapse this list.
Dependency lines:
  • rust-cbindgen>0:devel/rust-cbindgen
To install the port:
cd /usr/ports/devel/rust-cbindgen/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/rust-cbindgen
  • pkg install rust-cbindgen
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: rust-cbindgen
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1697393895 SHA256 (rust/crates/cbindgen-0.26.0.crate) = da6bc11b07529f16944307272d5bd9b22530bc7d05751717c9d416586cedab49 SIZE (rust/crates/cbindgen-0.26.0.crate) = 206157

Expand this list (88 items)

Collapse this list.

SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8 SIZE (rust/crates/atty-0.2.14.crate) = 5470 SHA256 (rust/crates/autocfg-1.1.0.crate) = d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa SIZE (rust/crates/autocfg-1.1.0.crate) = 13272 SHA256 (rust/crates/bitflags-1.3.2.crate) = bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a SIZE (rust/crates/bitflags-1.3.2.crate) = 23021 SHA256 (rust/crates/cfg-if-1.0.0.crate) = baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd SIZE (rust/crates/cfg-if-1.0.0.crate) = 7934 SHA256 (rust/crates/clap-3.2.25.crate) = 4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123 SIZE (rust/crates/clap-3.2.25.crate) = 219403 SHA256 (rust/crates/clap_lex-0.2.4.crate) = 2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5 SIZE (rust/crates/clap_lex-0.2.4.crate) = 9652 SHA256 (rust/crates/fastrand-1.9.0.crate) = e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be SIZE (rust/crates/fastrand-1.9.0.crate) = 11910 SHA256 (rust/crates/hashbrown-0.12.3.crate) = 8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888 SIZE (rust/crates/hashbrown-0.12.3.crate) = 102968 SHA256 (rust/crates/heck-0.4.1.crate) = 95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8 SIZE (rust/crates/heck-0.4.1.crate) = 11567 SHA256 (rust/crates/hermit-abi-0.1.19.crate) = 62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33 SIZE (rust/crates/hermit-abi-0.1.19.crate) = 9979 SHA256 (rust/crates/indexmap-1.9.3.crate) = bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99 SIZE (rust/crates/indexmap-1.9.3.crate) = 54653 SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c SIZE (rust/crates/instant-0.1.12.crate) = 6128 SHA256 (rust/crates/itoa-1.0.6.crate) = 453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6 SIZE (rust/crates/itoa-1.0.6.crate) = 10410 SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646 SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443 SHA256 (rust/crates/libc-0.2.144.crate) = 2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1 SIZE (rust/crates/libc-0.2.144.crate) = 682092 SHA256 (rust/crates/lock_api-0.4.9.crate) = 435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df SIZE (rust/crates/lock_api-0.4.9.crate) = 25685 SHA256 (rust/crates/log-0.4.17.crate) = abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e SIZE (rust/crates/log-0.4.17.crate) = 38028 SHA256 (rust/crates/os_str_bytes-6.5.0.crate) = ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267 SIZE (rust/crates/os_str_bytes-6.5.0.crate) = 23166 SHA256 (rust/crates/parking_lot-0.11.2.crate) = 7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99 SIZE (rust/crates/parking_lot-0.11.2.crate) = 39869 SHA256 (rust/crates/parking_lot_core-0.8.6.crate) = 60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc SIZE (rust/crates/parking_lot_core-0.8.6.crate) = 32567 SHA256 (rust/crates/proc-macro2-1.0.66.crate) = 18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9 SIZE (rust/crates/proc-macro2-1.0.66.crate) = 43575 SHA256 (rust/crates/quote-1.0.27.crate) = 8f4f29d145265ec1c483c7c654450edde0bfe043d3938d6972630663356d9500 SIZE (rust/crates/quote-1.0.27.crate) = 28416 SHA256 (rust/crates/redox_syscall-0.2.16.crate) = fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a SIZE (rust/crates/redox_syscall-0.2.16.crate) = 24012 SHA256 (rust/crates/remove_dir_all-0.5.3.crate) = 3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7 SIZE (rust/crates/remove_dir_all-0.5.3.crate) = 9184 SHA256 (rust/crates/ryu-1.0.13.crate) = f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041 SIZE (rust/crates/ryu-1.0.13.crate) = 46823 SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 SHA256 (rust/crates/serde-1.0.163.crate) = 2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2 SIZE (rust/crates/serde-1.0.163.crate) = 77030 SHA256 (rust/crates/serde_derive-1.0.163.crate) = 8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e SIZE (rust/crates/serde_derive-1.0.163.crate) = 54447 SHA256 (rust/crates/serde_json-1.0.96.crate) = 057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1 SIZE (rust/crates/serde_json-1.0.96.crate) = 144652 SHA256 (rust/crates/serial_test-0.5.1.crate) = e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d SIZE (rust/crates/serial_test-0.5.1.crate) = 2993 SHA256 (rust/crates/serial_test_derive-0.5.1.crate) = b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5 SIZE (rust/crates/serial_test_derive-0.5.1.crate) = 3609 SHA256 (rust/crates/smallvec-1.10.0.crate) = a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0 SIZE (rust/crates/smallvec-1.10.0.crate) = 31564 SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 SIZE (rust/crates/strsim-0.10.0.crate) = 11355 SHA256 (rust/crates/syn-1.0.109.crate) = 72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237 SIZE (rust/crates/syn-1.0.109.crate) = 237611 SHA256 (rust/crates/syn-2.0.16.crate) = a6f671d4b5ffdb8eadec19c0ae67fe2639df8684bd7bc4b83d986b8db549cf01 SIZE (rust/crates/syn-2.0.16.crate) = 240928 SHA256 (rust/crates/tempfile-3.3.0.crate) = 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4 SIZE (rust/crates/tempfile-3.3.0.crate) = 27578 SHA256 (rust/crates/termcolor-1.2.0.crate) = be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6 SIZE (rust/crates/termcolor-1.2.0.crate) = 17917 SHA256 (rust/crates/textwrap-0.16.0.crate) = 222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d SIZE (rust/crates/textwrap-0.16.0.crate) = 53722 SHA256 (rust/crates/toml-0.5.11.crate) = f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234 SIZE (rust/crates/toml-0.5.11.crate) = 54910 SHA256 (rust/crates/unicode-ident-1.0.8.crate) = e5464a87b239f13a63a501f2701565754bae92d243d4bb7eb12f6d57d2269bf4 SIZE (rust/crates/unicode-ident-1.0.8.crate) = 41962 SHA256 (rust/crates/winapi-0.3.9.crate) = 5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 SIZE (rust/crates/winapi-0.3.9.crate) = 1200382 SHA256 (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 SIZE (rust/crates/winapi-i686-pc-windows-gnu-0.4.0.crate) = 2918815 SHA256 (rust/crates/winapi-util-0.1.5.crate) = 70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178 SIZE (rust/crates/winapi-util-0.1.5.crate) = 10164 SHA256 (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f SIZE (rust/crates/winapi-x86_64-pc-windows-gnu-0.4.0.crate) = 2947998

Collapse this list.


Packages (timestamps in pop-ups are UTC):
rust-cbindgen
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.26.0_110.26.0_11-0.26.0_100.26.0_11-0.16.0_1-
FreeBSD:13:quarterly0.26.0_90.26.0_9--0.26.0_9-0.26.0_20.26.0_2
FreeBSD:14:latest0.26.0_100.26.0_11-0.26.0_100.26.0_11--0.24.3_10
FreeBSD:14:quarterly0.26.0_90.26.0_9--0.26.0_9-0.26.0_20.26.0_2
FreeBSD:15:latest0.26.0_100.26.0_11n/a0.26.0_10n/a-0.26.0_3-
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rust>=1.83.0 : lang/rust
Runtime dependencies:
  1. cargo : lang/rust
This port is required by:
for Build
  1. lang/spidermonkey102
  2. lang/spidermonkey128
  3. lang/spidermonkey78
  4. lang/spidermonkey91
  5. mail/thunderbird
  6. www/firefox
  7. www/firefox-esr
Expand this list (12 items / 5 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. www/librewolf
  3. www/tor-browser
  4. www/waterfox
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. lang/spidermonkey68*
  2. www/cliqz*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
No options to configure
Options name:
devel_rust-cbindgen
USES:
cargo
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://crates.io/api/v1/crates/cbindgen/0.26.0/download?dummy=/
Collapse this list.

There are no commits on branch 2024Q4 for this port