Port details on branch 2025Q3
rust-cbindgen Generate C bindings from Rust code
0.29.4_4,1 devel Σ =3 0.29.4_2,1Version of this port present on the latest quarterly branch. Maintainer: gecko@FreeBSD.org Port Added: 2018-08-19 16:41:23
Last Update: 2026-10-14 07:38:19
Commit Hash: 9c87820
People watching this port, also watch: libgd , netpbm , p5-Socket6 , docbook-xml , gmake 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 ¦ ¦ ¦ ¦
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist # USE_RC_SUBR (Service Scripts)
no SUBR information found for this port
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 = 1781464822
SHA256 (rust/crates/cbindgen-0.29.4.crate) = 2ecb53484c9c167ba674026b656d8a27d7657a58e6066aa902bfb1a4aa00ae20
SIZE (rust/crates/cbindgen-0.29.4.crate) = 238017
No package information for this port in our database # Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
Dependencies # NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered. Build dependencies: #
rust>=1.99.0 : lang/rust
Runtime dependencies: #
cargo : lang/rust
This port is required by: # for Build #
accessibility/accesskit-c
databases/mongodb70
databases/mongodb80
databases/mongodb90
games/0ad
lang/spidermonkey128
lang/spidermonkey140
Deleted ports which required this port:
* - 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
pkg-message: # FreshPorts was unable to extract/find any pkg message Master Sites: #