- Update to 0.16.0
* Remove artificial restriction on lifetime parameters on enums
* Add an option for converting usize/isize into size_t/ptrdiff_t.
* Allow controlling the cargo profile used for expansion.
* Support wider range of expressions in enum discriminants
* Support generation of Cython bindings
* Fixed some issues with style=tag and recursive structs
* Default C style to Both (as specified in docs)
* Fix resolution of path dependencies from certain modules.
* Support inlined definitions for tuple variants with a single field in C
OBS-URL: https://build.opensuse.org/request/show/862545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=27
- update to 0.14.3
* Introduce cbindgen:ignore comment annotation, to allow ignoring items or modules.
* Support for casts in constant expressions.
* Make a non-fatal error a warning message.
* Add a --metadata option to the CLI, to allow passing pre-computed cargo metadata.
0.14.2
* Fixed minimal dependency versions.
* Add an option to write pragma once.
* Fix submodule scanning for implicit Rust 2018 modules.
* Fix dependency parsing / scanning to handle target-specific versions.
* Use heck for case conversion.
* Add support for verbatim content after includes.
* Allow to add attributes to most generated functions.
OBS-URL: https://build.opensuse.org/request/show/822462
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=23
- Update to version 0.14.1
0.14.1
* Handle mangling pointers.
* Unconditionally generate a return statement in partialeq implementations.
0.14.0
* Minor tweak at how [export.exclude] is handled to allow excluding
generic instantiations in C mode.
* Documented cpp_compat option.
* Fixed a panic when parsing associated constants for a built-in type.
0.13.2
* Constants now have suitable documentation.
* Fixed some C warnings by emitting void when there are no arguments.
* Avoids reading cargo.toml when not needed, which can cause panics
in workspace situations.
* Only write `default` cases if the switch is not exhaustive.
* Some warnings have been refined.
* Code generation for static arrays has been fixed.
* Opt-in support for constexpr in constants.
* Fix C code generation and some warnings when extremely large
constants are used.
* Proper escaping of enum variants and fields.
* Added support for RefCell (as an opaque type) and Cell.
- required for Firefox >= 77.0
OBS-URL: https://build.opensuse.org/request/show/809195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=21
- Update to version 0.9.0
* Support to generate C headers with C++ compatibility
* Fix include guard generation when no_includes is set
* Fix crate parsing order so that types from the binding crate
are preferred in presence of conflicting names
* Add extra_bindings option to generate bindings for dependencies
* Clap dependency is optional now so it's feasible to avoid
building it if cbindgen is used as a library
OBS-URL: https://build.opensuse.org/request/show/721881
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=10