fastports

cbindgen 0.29.2_8

devel/rust-cbindgen

Generate C bindings from Rust code

Category
devel
Maintainer
gecko@FreeBSD.org
WWW
https://github.com/mozilla/cbindgen
License
MPL20
USES
cargo

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

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Commit Credits Log message
0.29.2
43f5b4a72f files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.94.0
PR:		293615
0.29.2
3d631100e8 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.93.0
PR:		292360
0.29.2
5e496c7707 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.92.0
PR:		291582
0.29.2
d044b575fd files touched
Christoph Moench-Tegeder (cmt)
devel/rust-cbindgen: update to 0.29.2
Changelog:
  https://github.com/mozilla/cbindgen/blob/v0.29.2/CHANGES
0.28.0
d6b6027df6 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.91.1
PR:		290816
0.28.0
97b5de4ffc files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.90.0
PR:		289709
0.28.0
b21956d7db files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.89.0
PR:		288923
0.28.0
f3f7e555b0 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.88.0
PR:		287766
0.28.0
3ed29b8185 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.87.0
PR:		286829
0.28.0
8256291055 files touched
Christoph Moench-Tegeder (cmt)
devel/rust-cbindgen: update to 0.28.0
Changelog:
  https://github.com/mozilla/cbindgen/blob/0.28.0/CHANGES
0.26.0
2a5976aebe files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.86.0
PR:		285840
0.26.0
cf7c4b037d files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.85.0
PR:		284884
0.26.0
fccaa1b326 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.84.0
PR:		283962
0.26.0
1d1fd15a3e files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.83.0
PR:		283000
0.26.0
ca048c2884 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.82.0
PR:		282516
0.26.0
89ab81d0e2 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.81.0
PR:		281300
0.26.0
7a55f95425 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.80.1
PR:		280490
0.26.0
21476ca8a9 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.79.0
PR:		279707
0.26.0
2322b66100 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.78.0
PR:		278834
0.26.0
d632fbe55e files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.77.0
PR:		277786
0.26.0
7f5a7b0e52 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.76.0
PR:		276920
0.26.0
109c3d4629 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.75.0
PR:		276033
0.26.0
b2afd89fb2 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.74.1
PR:		275243
0.26.0
9d3b680875 files touched
Jan Beich (jbeich)
devel/rust-cbindgen: chase HTTP redirect
https://github.com/eqrion/cbindgen/commit/35f2e44ef279
0.26.0
dd10dc88a7 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.73.0
PR:		274499
0.26.0
27501865ad files touched
Christoph Moench-Tegeder (cmt)
devel/rust-cbindgen: update to 0.26.0
https://github.com/mozilla/cbindgen/releases/tag/0.26.0
0.24.3
aba8da2be1 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.72.0
PR:		273331
0.24.3
cdf28617b4 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.71.0
PR:		272449
0.24.3
e1d1045bc7 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.70.0
PR:		271797
0.24.3
3db55c4e97 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.69.0
PR:		270953
0.24.3
ebf29acc6c files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.68.0
PR:		270080
0.24.3
109e35fd59 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.67.1
PR:		269336
0.24.3
cfa10b3c6d files touched
Jan Beich (jbeich)
devel/rust-cbindgen: move CARGO_CRATES to Makefile.crates
0.24.3
12f1c627d4 files touched
Daniel Engberg (diizzy)
*/*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports
0.24.3
ba14e01a52 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.66.0
PR:		268415
0.24.3
9bf6a99963 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.65.0
PR:		267622
0.24.3
afe651cf62 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.64.0
PR:		267173
0.24.3
fb16dfecae files touched
Stefan Eßer (se)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.24.3
b7f05445c0 files touched
Stefan Eßer (se)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
0.24.3
b9b250f912 files touched
Baptiste Daroussin (bapt)
rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits

This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers

This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.

With hat:	portmgr
0.24.3
783c056d7d files touched
Piotr Kubaj (pkubaj)
Revert "lang/rust: Bump revisions after 1.63.0"
This reverts commit c7912d97754bb7aa9a18eb33df53f91cba4cd82d.

PR:	265915
0.24.3
c7912d9775 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.63.0
0.24.3
a50372b91f files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.62.0
0.24.3
f75ba86e3f files touched
Jan Beich (jbeich)
devel/rust-cbindgen: update to 0.24.3
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.24.0
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.24.1
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.24.2
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.24.3
Reported by:	GitHub (watch releases)
0.23.0
e9a35a1c50 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.61.0
0.23.0
57c3caaa6c files touched
Tobias Kortkamp (tobik)
lang/rust: Relink ports after the Rust 1.60.0 update
0.23.0
1013d93702 files touched
Jan Beich (jbeich)
devel/rust-cbindgen: update to 0.23.0
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.23.0
Reported by:	GitHub (watch releases)
0.22.0
a40d3ddc68 files touched
Jan Beich (jbeich)
devel/rust-cbindgen: update to 0.22.0
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.22.0
Reported by:	GitHub (watch releases)
0.21.0
736ea06b2a files touched
Jan Beich (jbeich)
devel/rust-cbindgen: update to 0.21.0
Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.21.0
Reported by:	GitHub (watch releases)
0.20.0
e255ac5487 files touched
Mikael Urankar (mikael)
lang/rust: Bump revisions after 1.59.0

Load all commits →