Port details |
- rust-cbindgen Generate C bindings from Rust code
- 0.28.0 devel
=4 0.28.0Version of this port present on the latest quarterly branch. - Maintainer: gecko@FreeBSD.org
 - Port Added: 2018-08-19 16:41:23
- Last Update: 2025-04-21 20:50:14
- Commit Hash: 8256291
- People watching this port, also watch:: icon-naming-utils, libXdamage, autoconf, woff2, libevent
- 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 = 1745158046
SHA256 (rust/crates/cbindgen-0.28.0.crate) = eadd868a2ce9ca38de7eeafdcec9c7065ef89b42b32f0839278d55f35c54d1ff
SIZE (rust/crates/cbindgen-0.28.0.crate) = 223401
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.86.0 : lang/rust
- Runtime dependencies:
-
- cargo : lang/rust
- This port is required by:
- for Build
-
- lang/spidermonkey102
- lang/spidermonkey115
- lang/spidermonkey128
- lang/spidermonkey78
- lang/spidermonkey91
- mail/thunderbird
- mail/thunderbird-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:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.8.7_1 15 May 2019 03:12:15
  |
tobik  |
lang/rust: Update to 1.34.2
- While here add patches from [1] for LibreSSL 2.9.1 support
[1] https://github.com/sfackler/rust-openssl/pull/1097
Changes: https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes: https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR: 237495 [1]
Security: 37528379-76a8-11e9-a4fd-00012e582166 |
0.8.7 14 May 2019 00:43:09
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.7
Changes: https://github.com/eqrion/cbindgen/compare/v0.8.6...v0.8.7 |
0.8.6 09 May 2019 10:16:38
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.6
Changes: https://github.com/eqrion/cbindgen/compare/v0.8.3...v0.8.6 |
0.8.3_2 11 Apr 2019 19:39:28
  |
tobik  |
lang/rust: Update to 1.34.0
- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- Force rebuild all consumers to catch regressions early
Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.
Changes: https://blog.rust-lang.org/2019/04/11/Rust-1.34.0.html
Reviewed by: jbeich
With hat: rust
Differential Revision: https://reviews.freebsd.org/D19850 |
0.8.3_1 05 Apr 2019 03:06:36
  |
jbeich  |
devel/rust-bindgen: update bundled crates
crates.io releases don't have Cargo.lock, so dependencies
can be freely updated within version constraints in Cargo.toml. |
0.8.3 05 Apr 2019 03:06:26
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.3
Required by Firefox 68, see https://bugzilla.mozilla.org/show_bug.cgi?id=1536582
Changes: https://github.com/eqrion/cbindgen/compare/v0.8.2...v0.8.3 |
0.8.2 05 Apr 2019 03:06:15
  |
jbeich  |
devel/rust-*bindgen: switch PLIST_FILES to PORTNAME to make diff smaller |
0.8.2 05 Apr 2019 03:06:04
  |
jbeich  |
devel/rust-*bindgen: switch to crates.io for main distfile
Upstream is sloppy when tagging releases. Git revision can still be
found in WRKSRC/.cargo_vcs_info.json. |
0.8.2 07 Mar 2019 12:20:31
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.2
Changes: https://github.com/eqrion/cbindgen/compare/v0.8.1...v0.8.2
Reported by: portscout |
0.8.1 07 Mar 2019 01:14:15
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.1
Changes: https://github.com/eqrion/cbindgen/compare/v0.8.0...v0.8.1
Reported by: portscout |
0.8.0_2 28 Feb 2019 18:51:46
  |
jbeich  |
lang/rust: update to 1.33.0
- www/firefox temporarily loses SIMD in charset conversion, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
Tested by: Mikael Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj
(powerpc64)
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D19354 |
0.8.0_1 28 Feb 2019 18:47:28
  |
jbeich  |
USES=cargo to update libc to 0.2.49 for Tier2
PR: 235063
Differential Revision: https://reviews.freebsd.org/D19309 |
0.8.0 14 Feb 2019 13:51:36
  |
jbeich  |
devel/rust-cbindgen: update to 0.8.0
Changes: https://github.com/eqrion/cbindgen/compare/v0.7.1...v0.8.0
Reported by: portscout |
0.7.1 26 Jan 2019 09:22:54
  |
jbeich  |
devel/rust-cbindgen: update to 0.7.1
Changes: https://github.com/eqrion/cbindgen/compare/v0.7.0...v0.7.1
Reported by: portscout |
0.7.0 26 Jan 2019 00:42:46
  |
jbeich  |
devel/rust-cbindgen: update to 0.7.0
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.8...v0.7.0
Reported by: portscout |
0.6.8_1 17 Jan 2019 19:50:39
  |
jbeich  |
lang/rust: update to 1.32.0
- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2019/01/17/Rust-1.32.0.html
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18858 |
0.6.8 08 Jan 2019 15:17:00
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.8
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.7...v0.6.8
Reported by: portscout |
0.6.7_1 04 Jan 2019 04:00:40
  |
jbeich  |
Allow overriding rust dependency
Add DEFAULT_VERSIONS+=rust=rust-nightly to make.conf(5) if you want to
build consumers using lang/rust-nightly.
Approved by: rust (tobik)
MFH: 2019Q1 (avoid merge conflicts during www/firefox updates)
Differential Revision: https://reviews.freebsd.org/D18634 |
0.6.7_1 06 Dec 2018 17:11:15
  |
jbeich  |
lang/rust: update to 1.31.0
- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2018/12/06/Rust-1.31.0.html
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18427 |
0.6.7 31 Oct 2018 12:18:31
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.7
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.7
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.6...v0.6.7
Reported by: portscout |
0.6.6_1 25 Oct 2018 21:59:37
  |
jbeich  |
lang/rust: update to 1.30.0
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2018/10/25/Rust-1.30.0.html
Approved by: rust (tobik)
MFH: 2018Q4 (less rust versions to support)
Differential Revision: https://reviews.freebsd.org/D17695 |
0.6.6 18 Oct 2018 16:51:44
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.6
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.6
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.5...v0.6.6
Reported by: portscout |
0.6.5 17 Oct 2018 12:46:41
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.5
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.5
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.4...v0.6.5
Reported by: portscout |
0.6.4_1 12 Oct 2018 19:01:02
  |
jbeich  |
lang/rust: update to 1.29.2
- Force rebuild all consumers in case some are affected by miscompilation
Changes: https://blog.rust-lang.org/2018/10/12/Rust-1.29.2.html
PR: 229826 (follow up)
Approved by: rust (tobik)
MFH: 2018Q4
Differential Revision: https://reviews.freebsd.org/D17477 |
0.6.4 05 Oct 2018 10:49:57
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.4
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.4
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.3...v0.6.4
Reported by: portscout |
0.6.3_1 28 Sep 2018 17:59:24
  |
jbeich  |
lang/rust: update to 1.29.1
- Force rebuild all consumers as standard library is statically linked
Changes: https://blog.rust-lang.org/2018/09/25/Rust-1.29.1.html
PR: 229826 (follow up)
Approved by: dumbbell
Differential Revision: https://reviews.freebsd.org/D17337 |
0.6.3 29 Aug 2018 17:56:34
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.3
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.3
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.2...v0.6.3 |
0.6.2 22 Aug 2018 19:38:34
  |
jbeich  |
devel/rust-cbindgen: update to 0.6.2
Changes: https://github.com/eqrion/cbindgen/releases/tag/v0.6.2
Changes: https://github.com/eqrion/cbindgen/compare/v0.6.1...v0.6.2 |
0.6.1 19 Aug 2018 16:44:31
  |
jbeich  |
devel/rust-cbindgen: over to gecko@
Not sure how useful this port would be outside of www/firefox.
I'm not interested in maintaining it. |
0.6.1 19 Aug 2018 16:39:16
  |
jbeich  |
devel/rust-cbindgen: add new port (required by Firefox 63)
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.
https://github.com/eqrion/cbindgen
https://www.mail-archive.com/dev-platform@lists.mozilla.org/msg26147.html |