- Update to version 0.25.0+git0:
* Fix minimal Rust version in CI
* Revert "Upgrade clap 3 to clap 4"
* Fix clippy warning
* Fix CI
* Update changelog for v0.25.0
* CI: Replace forbidden actions with cli code
* CI: Add semver checks to CI deploy job
* msrv 1.64
* Upgrade clap 3 to clap 4
* Add: Add rust-toolchain.toml
- Automatic update of vendored dependencies
- Update to version 0.24.3+git0:
* Bump version.
* tests: Add a test for struct constants going through typedefs.
* bindings: Peel through typedefs for struct constant generation.
* Rustfmt recent changes.
* Version bump.
* bitflags: Be explicit in binary operators and such.
* Version bump.
* constant: Add support for unary negation.
* bitflags: Make more operations constexpr.
* Fix changelog typo.
OBS-URL: https://build.opensuse.org/request/show/1108962
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=48
- Update to version 0.24.2+git0:
* Version bump.
* bitflags: Be explicit in binary operators and such.
* Version bump.
* constant: Add support for unary negation.
* bitflags: Make more operations constexpr.
* Fix changelog typo.
* Version bump.
* constant: Support suffixes for integers that otherwise would be narrowed.
* Fix specialization of `SomeType<N>` when `N` is a const parameter.
* Minor refactor of ConstExpr::load().
OBS-URL: https://build.opensuse.org/request/show/981230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=45
- Update to version 0.22.0+git0:
* v0.22.0
* Support rename rule for union body members.
* constant: Add support for other expressions WebRender uses.
* constant: Add support for associated constant expressions.
* Fix regression in CamelCase rename rule (should be lowerCamelCase)
* enumeration: simplify standard types in variants.
* Avoid generating and writing bindings when called recursively
* Cython: Omit per-variant tags in unions generated for Rust enums
* Update various dependencies.
* v0.21.0
OBS-URL: https://build.opensuse.org/request/show/970923
OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/rust-cbindgen?expand=0&rev=42
- 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