Tags: JohnnnyWang/cbindgen
Tags
v0.20.0 * Add Builder::with_using_namespaces (mozilla#688). * Ignore PhantomPinned (mozilla#695). * Simplify Pin<T> to T (mozilla#697). * Update --pretty=expanded to -Zunpretty=expanded (mozilla#706)
v0.19.0 * Simplify types in generics (mozilla#663) * Use --profile=check for macro expansion (mozilla#671) * Use exported name to prefix enum variants (mozilla#672) * Fix path attribute handling in inline submodules (mozilla#679) * Fix a stack overflow with some recursive typedefs (mozilla#680)
v0.18.0 * Simplify types in nested types such as pointed-to types and function signatures (mozilla#661)
v0.17.0 * Add with_parse_extra_bindings to builder. (mozilla#645) * Support NonZero and fix incorrect simplification of Option<ptr> into ptr. (mozilla#647) * Deal with name conflicts correctly in declaration type resolution. (mozilla#651) * Support pointers to ZSTs. (mozilla#656)
v0.16.0 * Remove artificial restriction on lifetime parameters on enums (mozilla#604) * Add an option for converting usize/isize into size_t/ptrdiff_t. (mozilla#606) * Allow controlling the cargo profile used for expansion. (mozilla#607) * Support wider range of expressions in enum discriminants (mozilla#614) * Support generation of Cython bindings (mozilla#590) * Fixed some issues with style=tag and recursive structs (mozilla#615) * Default C style to Both (as specified in docs) (mozilla#615) * Fix resolution of path dependencies from certain modules. (mozilla#629) * Support inlined definitions for tuple variants with a single field in C (mozilla#631) Thanks to all the awesome contributors that contributed to this release.
v0.15.0 * Allow customizing mangling of generic parameters in C (mozilla#575) * Box<T> simplifies to T* in C (4ce324c) * ManuallyDrop<T> and MaubeUninit<T> simplify to T in C, and are opaque in C++ (0076a17) * C++ supports a derive-ostream annotation to derive serialization of structs, unions and enums (mozilla#582) * Large character constants have been fixed on Windows (mozilla#586) * Constants are now generated for typedefs, etc (mozilla#589) * The `sort_by` configuration option has been made to work for constants (mozilla#587) * Default sort order is source order now (sort_by = "None"), and can be changed by the above option (mozilla#587)
v0.14.5 * Add support to specify line ending style (mozilla#568) * Add cbindgen:ptrs-as-arrays annotation to allow making function arguments C/C++ arrays.
v0.14.4 * Allow to override the mangling separator (mozilla#502) * cbindgen now handles better having ZSTs in template parameters, and default template parameters (mozilla#563). * Support for annotating nonnull pointers (mozilla#558) * Fixed bitflags that overflow a signed integer (mozilla#556) * Support for wildcard argument names (mozilla#550) * Support for the never return type, with configurable annotation (mozilla#549) * Properly reject arrays as function arguments (mozilla#540)
v0.14.3 * Introduce cbindgen:ignore comment annotation, to allow ignoring items or modules. (mozilla#519) * Support for casts in constant expressions. (mozilla#526) * Make a non-fatal error a warning message. (mozilla#535) * Add a --metadata option to the CLI, to allow passing pre-computed cargo metadata. (mozilla#538)
PreviousNext