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

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


Branch: CURRENT, Version: 0.13.1, Package name: cbindgen-0.13.1, 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 run:
[lang/rust]

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

Master sites:

SHA1: f1cb289ee65aa07326b52421fc77e4179fc1b8b4
RMD160: dd1b89f3cbd1dccde4c889b28b8d5a9e9c4bce37
Filesize: 152.041 KB

Version history: (Expand)


CVS history: (Expand)


   2020-03-06 15:22:14 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.13.1

Changelog:
0.13.1
  * Support #[cfg] on individual enum variants. (#469)

0.13.0
 * Support 'swift_name' attributes on generated functions (#449)
 * Add [export.pre_body] to config (#452)
 * Handle new line in doc attribute (#454)
 * Add support for `Self` in tagged enums, structs and unions (#455, #455, #456)
 * Make sentinel variant respect regular config (#459)
 * Fix layout of tagged enums with size under some configurations (#463)
 * Add an option to allow configuring the order of function names in generated \ 
headers (#466)

0.12.2
Not available
   2020-01-19 19:20:46 by Maya Rashish | Files touched by this commit (6)
Log message:
Rename EFFECTIVE_MAKE_JOBS -> _MAKE_JOBS_N, suggested by gdt.

I am under the impression we use _THING to mean "defined by the
implementation", which would be similar to the C meaning of __ prefix,
rather than "private to this file".
   2020-01-19 17:52:47 by Maya Rashish | Files touched by this commit (8)
Log message:
Make cargo packages respect MAKE_JOBS
   2020-01-09 15:56:28 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.12.1

Changelog:
0.12.1
 * Added support for #[repr*64)] on enums. \ 
https://github.com/eqrion/cbindgen/pull/441
 * Added support to generate plain enums instead of enum classes for C++. \ 
https://github.com/eqrion/cbindgen/pull/443
 * Fixed dependency resolution with lockfile v2. \ 
https://github.com/eqrion/cbindgen/pull/438

0.12.0
 * Added support for #[repr(align)] and #[repr(packed)] on structs and unions. \ 
https://github.com/eqrion/cbindgen/pull/431
 * Added support to generate copy-assignment operators for enums. \ 
https://github.com/eqrion/cbindgen/pull/434

0.11.1
Not available

0.11.0
 * Made rust char map to uint32_t. https://github.com/eqrion/cbindgen/pull/424
   2019-12-03 17:29:39 by Min Sik Kim | Files touched by this commit (2)
Log message:
lang/rust/cargo.mk: Remove default DIST_SUBDIR

Some packages using cargo.mk have distfiles not from
crates.io.
   2019-12-03 16:50:09 by Min Sik Kim | Files touched by this commit (2) | Package updated
Log message:
devel/cbindgen: Update to 0.10.1

Changes:
     * Initialize struct literal with list-initializer for C++11 standard.
     * Surround namespace with __cplusplus ifdef in cpp_compat mode.
     * Add support for --quiet flag.
     * Map char to char32_t.
     * Improve binding_crate_ref() error message.
     * avoid prematurely returning during expansion.
     * Add support for adding "using namespace" statements.
     * Improved error message for missing config file.
     * Add missing header for char32_t.
   2019-10-01 23:30:04 by Roland Illig | Files touched by this commit (1)
Log message:
devel/cbindgen: fix typo
   2019-09-06 04:53:19 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
Update to 0.9.1

Changelog:
## 0.9.1
     * Various improvements to comment output. \ 
https://github.com/eqrion/cbindgen/pull/370 / \ 
https://github.com/eqrion/cbindgen/pull/375.
     * Fixed expand when ran from build.rs. \ 
https://github.com/eqrion/cbindgen/pull/371
     * More debugging output for expansion. \ 
https://github.com/eqrion/cbindgen/pull/383
     * New option to add a default private constructor in C++ tagged enums. \ 
https://github.com/eqrion/cbindgen/pull/377
     * Syn and related dependencies updated to 1.0. \ 
https://github.com/eqrion/cbindgen/pull/379