Port details on branch 2024Q4 |
- rust-cbindgen Generate C bindings from Rust code
- 0.26.0_11 devel =5 0.26.0_9Version of this port present on the latest quarterly branch.
- Maintainer: gecko@FreeBSD.org
- 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
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - 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
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- rust>=1.83.0 : lang/rust
- Runtime dependencies:
-
- cargo : lang/rust
- This port is required by:
- for Build
-
- lang/spidermonkey102
- lang/spidermonkey128
- lang/spidermonkey78
- lang/spidermonkey91
- mail/thunderbird
- www/firefox
- www/firefox-esr
-
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
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|