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

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


Branch: CURRENT, Version: 0.14.5, Package name: cbindgen-0.14.5, 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:

SHA1: 79e00f0f28f7d415d0140af5b98366797d28f176
RMD160: b48fde65678d2a5d8cc34b715e157068ea63d75a
Filesize: 169.985 KB

Version history: (Expand)


CVS history: (Expand)


   2020-09-28 15:21:03 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.14.6

Changelog:
Not available.
   2020-09-27 17:49:42 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.14.6

CHangelog:
Not available.
   2020-08-25 16:30:39 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.14.4

Changelog:
     * Allow to override the mangling separator (#502)

     * cbindgen now handles better having ZSTs in template parameters, and
       default template parameters (#563).

     * Support for annotating nonnull pointers (#558)

     * Fixed bitflags that overflow a signed integer (#556)

     * Support for wildcard argument names (#550)

     * Support for the never return type, with configurable annotation (#549)

     * Properly reject arrays as function arguments (#540)
   2020-08-14 22:50:22 by Tobias Nygren | Files touched by this commit (7)
Log message:
cargo users: drop do-build target where redundant
   2020-08-14 13:05:00 by Tobias Nygren | Files touched by this commit (7)
Log message:
rust/cargo: replace "--frozen --locked" with "--offline" in \ 
various places

The intent of "--frozen --locked" was to not use the network, but the new
"--offline" option is better suited for this purpose.
It for example allows us to patch Cargo.toml if necessary without having
to regen checksums.
   2020-07-31 03:20:43 by Maya Rashish | Files touched by this commit (2) | Package updated
Log message:
cbindgen: update to 0.14.3

     * Introduce cbindgen:ignore comment annotation, to allow ignoring items or \ 
modules. (#519)
     * Support for casts in constant expressions. (#526)
     * Make a non-fatal error a warning message. (#535)
     * Add a --metadata option to the CLI, to allow passing pre-computed cargo \ 
metadata. (#538)
   2020-06-14 17:33:29 by Nia Alarie | Files touched by this commit (17)
Log message:
Rename rust-bin's PKGNAME to rust-bin. Add rust.mk for rust packages.

This allows rust-bin and rust to coexist in bulk builds (for testing, etc),
but the packages still may not be installed at the same time.

rust.mk as a solution for picking the correct rust variant was suggested
by gdt@. It is intended to be included directly by packages that do not
use cargo.mk, and indirectly by packages that do use cargo.mk.

rust.mk provides one user-settable variable:

RUST_TYPE
	as before, whether to bootstrap rust from source or use
	official binaries. may be "src" or "bin"

And two package-settable variables:

RUST_REQ
	the minimum version of Rust required by the package.
	defaults to "1.20.0"

RUST_RUNTIME
	whether Rust is a runtime dependency, may be "yes" or "no"
   2020-06-03 10:53:04 by Ryo ONODERA | Files touched by this commit (2) | Package updated
Log message:
cbindgen: Update to 0.14.2

Changelog:
0.14.2
 * Fixed minimal dependency versions. (#507)
 * Add an option to write pragma once. (#511)
 * Fix submodule scanning for implicit Rust 2018 modules. (#512)
 * Fix dependency parsing / scanning to handle target-specific versions. (#513)
 * Use heck for case conversion. (#514)
 * Add support for verbatim content after includes. (#416)
 * Allow to add attributes to most generated functions. (#515)

0.14.1
 * Handle mangling pointers. (#508)
 * Unconditionally generate a return statement in partialeq implementations. (#509)

0.14.0
 * Minor tweak at how [export.exclude] is handled to allow excluding
   generic instantiations in C mode. (#501)
 * Documented cpp_compat option. (#496)
 * Fixed a panic when parsing associated constants for a built-in type. (#494)

0.13.2
   * Constants now have suitable documentation. (#471)
   * Fixed some C warnings by emitting void when there are no arguments. (#470)
   * Avoids reading cargo.toml when not needed, which can cause panics in \ 
workspace situations.
   * Only write `default` cases if the switch is not exhaustive. (#475)
   * Some warnings have been refined. (#477)
   * Code generation for static arrays has been fixed. (#479)
   * Opt-in support for constexpr in constants. (#481)
   * Fix C code generation and some warnings when extremely large constants are \ 
used. (#490)
   * Proper escaping of enum variants and fields. (#483)
   * Added support for RefCell (as an opaque type) and Cell. (#489)

5a4d74b
ir: escape export_name while writing source of EnumVariant