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

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2022Q2
rust-cbindgen Generate C bindings from Rust code
0.23.0 devel on this many watch lists=0 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.28.0Version of this port present on the latest quarterly branch.
Maintainer: gecko@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2022-04-24 08:22:25
Last Update: 2022-04-22 23:15:19
Commit Hash: f66dfe2
License: MPL20
WWW:
https://github.com/eqrion/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 WWW: https://github.com/eqrion/cbindgen
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.23.0/catalog.mk
  3. /usr/local/share/licenses/rust-cbindgen-0.23.0/LICENSE
  4. /usr/local/share/licenses/rust-cbindgen-0.23.0/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 = 1650559680 SHA256 (rust/crates/cbindgen-0.23.0.crate) = 5b6d248e3ca02f3fbfabcb9284464c596baec223a26d91bbf44a5a62ddb0d900 SIZE (rust/crates/cbindgen-0.23.0.crate) = 188128

Expand this list (86 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.1.6.crate) = d8c93436c21e4698bacadf42917db28b23017027a4deccb35dbe47a7e7840123 SIZE (rust/crates/clap-3.1.6.crate) = 202211 SHA256 (rust/crates/fastrand-1.7.0.crate) = c3fcf0cee53519c866c09b5de1f6c56ff9d647101f81c1964fa632e148896cdf SIZE (rust/crates/fastrand-1.7.0.crate) = 11265 SHA256 (rust/crates/hashbrown-0.11.2.crate) = ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e SIZE (rust/crates/hashbrown-0.11.2.crate) = 85713 SHA256 (rust/crates/heck-0.4.0.crate) = 2540771e65fc8cb83cd6e8a237f70c319bd5c29f78ed1084ba5d50eeac86f7f9 SIZE (rust/crates/heck-0.4.0.crate) = 11161 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.8.0.crate) = 282a6247722caba404c065016bbfa522806e51714c34f5dfc3e4a3a46fcb4223 SIZE (rust/crates/indexmap-1.8.0.crate) = 52583 SHA256 (rust/crates/instant-0.1.12.crate) = 7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c SIZE (rust/crates/instant-0.1.12.crate) = 6128 SHA256 (rust/crates/itoa-1.0.1.crate) = 1aab8fc367588b89dcee83ab0fd66b72b50b72fa1904d7095045ace2b0c81c35 SIZE (rust/crates/itoa-1.0.1.crate) = 11059 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.121.crate) = efaa7b300f3b5fe8eb6bf21ce3895e1751d9665086af2d64b42f19701015ff4f SIZE (rust/crates/libc-0.2.121.crate) = 574702 SHA256 (rust/crates/lock_api-0.4.6.crate) = 88943dd7ef4a2e5a4bfa2753aaab3013e34ce2533d1996fb18ef591e315e2b3b SIZE (rust/crates/lock_api-0.4.6.crate) = 25215 SHA256 (rust/crates/log-0.4.16.crate) = 6389c490849ff5bc16be905ae24bc913a9c8892e19b2341dbc175e14c341c2b8 SIZE (rust/crates/log-0.4.16.crate) = 37758 SHA256 (rust/crates/memchr-2.4.1.crate) = 308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a SIZE (rust/crates/memchr-2.4.1.crate) = 64977 SHA256 (rust/crates/os_str_bytes-6.0.0.crate) = 8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64 SIZE (rust/crates/os_str_bytes-6.0.0.crate) = 21046 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.5.crate) = d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216 SIZE (rust/crates/parking_lot_core-0.8.5.crate) = 32466 SHA256 (rust/crates/proc-macro2-1.0.36.crate) = c7342d5883fbccae1cc37a2353b09c87c9b0f3afd73f5fb9bba687a1f733b029 SIZE (rust/crates/proc-macro2-1.0.36.crate) = 41411 SHA256 (rust/crates/quote-1.0.17.crate) = 632d02bff7f874a36f33ea8bb416cd484b90cc66c1194b1a1110d067a7013f58 SIZE (rust/crates/quote-1.0.17.crate) = 28629 SHA256 (rust/crates/redox_syscall-0.2.12.crate) = 8ae183fc1b06c149f0c1793e1eb447c8b04bfe46d48e9e48bfb8d2d7ed64ecf0 SIZE (rust/crates/redox_syscall-0.2.12.crate) = 24081 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.9.crate) = 73b4b750c782965c211b42f022f59af1fbceabdd026623714f104152f1ec149f SIZE (rust/crates/ryu-1.0.9.crate) = 48391 SHA256 (rust/crates/scopeguard-1.1.0.crate) = d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd SIZE (rust/crates/scopeguard-1.1.0.crate) = 11470 SHA256 (rust/crates/serde-1.0.136.crate) = ce31e24b01e1e524df96f1c2fdd054405f8d7376249a5110886fb4b658484789 SIZE (rust/crates/serde-1.0.136.crate) = 76158 SHA256 (rust/crates/serde_derive-1.0.136.crate) = 08597e7152fcd306f41838ed3e37be9eaeed2b61c42e2117266a554fab4662f9 SIZE (rust/crates/serde_derive-1.0.136.crate) = 54776 SHA256 (rust/crates/serde_json-1.0.79.crate) = 8e8d9fa5c3b304765ce1fd9c4c8a3de2c8db365a5b91be52f186efc675681d95 SIZE (rust/crates/serde_json-1.0.79.crate) = 144451 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.8.0.crate) = f2dd574626839106c320a323308629dcb1acfc96e32a8cba364ddc61ac23ee83 SIZE (rust/crates/smallvec-1.8.0.crate) = 27992 SHA256 (rust/crates/strsim-0.10.0.crate) = 73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623 SIZE (rust/crates/strsim-0.10.0.crate) = 11355 SHA256 (rust/crates/syn-1.0.89.crate) = ea297be220d52398dcc07ce15a209fce436d361735ac1db700cab3b6cdfb9f54 SIZE (rust/crates/syn-1.0.89.crate) = 235966 SHA256 (rust/crates/tempfile-3.3.0.crate) = 5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4 SIZE (rust/crates/tempfile-3.3.0.crate) = 27578 SHA256 (rust/crates/termcolor-1.1.3.crate) = bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755 SIZE (rust/crates/termcolor-1.1.3.crate) = 17242 SHA256 (rust/crates/textwrap-0.15.0.crate) = b1141d4d61095b28419e22cb0bbf02755f5e54e0526f97f1e3d1d160e60885fb SIZE (rust/crates/textwrap-0.15.0.crate) = 52998 SHA256 (rust/crates/toml-0.5.8.crate) = a31142970826733df8241ef35dc040ef98c679ab14d7c3e54d827099b3acecaa SIZE (rust/crates/toml-0.5.8.crate) = 54219 SHA256 (rust/crates/unicode-xid-0.2.2.crate) = 8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3 SIZE (rust/crates/unicode-xid-0.2.2.crate) = 14955 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.28.0_10.28.0_1-0.28.0_10.28.0_1-0.16.0_1-
FreeBSD:13:quarterly0.28.00.28.0-0.28.00.28.0-0.26.0_20.26.0_2
FreeBSD:14:latest0.28.00.28.0_1-0.28.00.28.0_1--0.24.3_10
FreeBSD:14:quarterly0.28.00.28.0-0.28.00.28.0-0.26.0_20.26.0_2
FreeBSD:15:latest0.28.00.28.0_1n/a0.28.0n/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.59.0 : lang/rust
Runtime dependencies:
  1. cargo : lang/rust
This port is required by:
for Build
  1. mail/thunderbird
  2. www/firefox
  3. www/firefox-esr

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.23.0/download?dummy=/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.23.0
22 Apr 2022 23:15:19
commit hash: f66dfe2d8b451978f3d82a709936739c76fcd413commit hash: f66dfe2d8b451978f3d82a709936739c76fcd413commit hash: f66dfe2d8b451978f3d82a709936739c76fcd413commit hash: f66dfe2d8b451978f3d82a709936739c76fcd413 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
devel/rust-cbindgen: update to 0.23.0

Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.23.0
Reported by:	GitHub (watch releases)

(cherry picked from commit 1013d9370284988ac2041f788f9b1b8998e78f05)
0.22.0
20 Apr 2022 04:36:04
commit hash: d8b4f40c03642d0224aff3c458ef3c1e32960316commit hash: d8b4f40c03642d0224aff3c458ef3c1e32960316commit hash: d8b4f40c03642d0224aff3c458ef3c1e32960316commit hash: d8b4f40c03642d0224aff3c458ef3c1e32960316 files touched by this commit
Jan Beich (jbeich) search for other commits by this committer
devel/rust-cbindgen: update to 0.22.0

Changes:	https://github.com/eqrion/cbindgen/releases/tag/v0.22.0
Reported by:	GitHub (watch releases)

(cherry picked from commit a40d3ddc68a7f0cbd4acd398b5e4052d0c4b7483)

Number of commits found: 2