./devel/cbindgen, Generating C bindings from Rust code

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.26.0, Package name: cbindgen-0.26.0, Maintainer: ryoon

This project can be used to generate C bindings for Rust code. It
is currently being developed to support creating bindings for
WebRender, but has been designed to support any project.


Required to build:
[pkgtools/cwrappers] [lang/rust-bin]

Master sites:

Filesize: 214.819 KB

Version history: (Expand)


CVS history: (Expand)


   2023-12-16 12:46:22 by Havard Eidnes | Files touched by this commit (3)
Log message:
cbindgen: pull over more patches from rust to vendor/libc so mipsel builds.
   2023-09-16 10:06:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
cbindgen: updated to 0.26.0

0.26.0

Fix swapping of >>= and <<= in constants.
Add support for #[deprecated].
Built-in support for bitflags 2.0.
Support for "C-unwind" ABI.
Generate bindings for non-public extern items if they are #[no_mangle].
   2023-09-12 05:05:19 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/cbindgen: update to 0.25.0

Ok from ryoon@ upon successful build of firefox115.

  * Re-release of yanked 0.24.6 as a major release
  * Update MSRV to 1.57
  * Support variadic arguments (`...`) (#805)
  * Add --depfile option (#820)
  * Breaking changes: The `Config` struct now has a private member.
   2023-07-05 22:33:42 by Havard Eidnes | Files touched by this commit (4)
Log message:
cbindgen: make this build with the newly added NetBSD/riscv64 rust.

(I used the not-yet-committed rust-bin package.)

Replicate the "libc" crate patch from the main rust package.
(A corresponding pull request sent upstream.)
Bump PKGREVISION.
   2023-06-01 09:55:08 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
cbindgen: updated to 0.24.6

0.24.6
* Update MSRV to 1.57
* Support variadic arguments (`...`)
* Add --depfile option

0.24.5
* Don't enforce tempfile version.

0.24.4
* Move expand infinite recursion fix
* Add with_cpp_compat to the builder
* Handle never type in return position consistently
* Fix warnings
* Updated documentation
   2023-05-18 00:32:39 by Thomas Klausner | Files touched by this commit (1)
Log message:
cbindgen: use cargo.mk's install
   2022-08-04 02:54:06 by David H. Gutteridge | Files touched by this commit (2) | Package updated
Log message:
cbindgen: update to 0.24.3

(Required for Firefox 103 builds.)

## 0.24.3

      * Make struct expressions correctly generated through typedefs (#768).

## 0.24.2

      * Make bitfield operators use explicit constructors.

## 0.24.1

      * Add support for unary negation (#765).
      * Make more bitfield operators constexpr (#765).

## 0.24.0

      * Basic const generic support (#759, #760 #762).
      * Suffixes on integer literals are now honored to avoid narrowing (#764).
   2022-06-06 22:53:06 by Ryo ONODERA | Files touched by this commit (3)
Log message:
cbindgen: Update to 0.23.0

Changelog:
0.23.0:
    Better support for constexpr. (#756)
    constexpr is now enabled by default in C++ mode. You can use \ 
const.allow_constexpr=false to revert to previous behavior. (#756)
    Minimum syn version no longer parses old rust code. (#754)

0.22.0:
    Support rename rule for union body members (#751).
    constant: Add support for associated constant expressions (#752).
    Fix regression in CamelCase rename rule (should be lowerCamelCase) (#750).
    enumeration: simplify standard types in variants (#749).
    Avoid generating and writing bindings when called recursively (#747).
    Cython: Omit per-variant tags in unions generated for Rust enums (#748).
    Update various dependencies.

0.21.0:
    Update MSRV to 1.54.0
    Update clap to 3.1.
    Update heck to 0.4.0
    unraw identifiers
    Honor documentation_length in Cython.
    Add documentation_style to with short and full options
    Map RawFd to Int
    Respect remove_underscores config when prefixing name to enum