Releases: mozilla/cbindgen
Releases · mozilla/cbindgen
v0.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)
v0.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)
v0.14.1
v0.14.0
v0.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)
''
v0.13.1
v0.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)
v0.12.2
v0.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