All Versions
39
Latest Version
Avg Release Cycle
23 days
Latest Release
-

Changelog History
Page 1

  • v0.23.0 Changes

      * Better support for constexpr. (#756)
      * constexpr is now enabled by default in C++ mode. You can use const.allow_constexpr=false to revert to previous behavior. (#756)
      * Minimum syn version no longer parses old rust code. (#754)
    
  • v0.22.0 Changes

      * Support rename rule for union body members (#751).
      * constant: Add support for associated constant expressions (#752).
      * Fix regression in CamelCase rename rule (should be lowerCamelCase) (#750).
      * enumeration: simplify standard types in variants (#749).
      * Avoid generating and writing bindings when called recursively (#747).
      * Cython: Omit per-variant tags in unions generated for Rust enums (#748).
      * Update various dependencies.
    
  • v0.21.0 Changes

      * Update MSRV to 1.54.0
      * Update clap to 3.1.
      * Update heck to 0.4.0
      * unraw identifiers
      * Honor documentation_length in Cython.
      * Add documentation_style to with short and full options
      * Map RawFd to Int
      * Respect remove_underscores config when prefixing name to enum
    
  • v0.20.0 Changes

     * Add Builder::with_using_namespaces. (#688)
     * Ignore PhantomPinned. (#695)
     * Simplify Pin<T> to T. (#697)
     * Update --pretty=expanded to -Zunpretty=expanded. (#706)
    
  • v0.19.0 Changes

     * Simplify types in generics (#663)
     * Use --profile=check for macro expansion (#671)
     * Use exported name to prefix enum variants (#672)
     * Fix path attribute handling in inline submodules (#679)
     * Fix a stack overflow with some recursive typedefs (#680)
    
  • v0.18.0 Changes

     * Simplify types in nested types such as pointed-to types and function signatures (#661)
    
  • v0.17.0 Changes

     * Add with_parse_extra_bindings to builder. (#645)
     * Support NonZero and fix incorrect simplification of Option<ptr> into ptr. (#647)
     * Deal with name conflicts correctly in declaration type resolution. (#651)
     * Support pointers to ZSTs. (#656)
    
  • v0.16.0 Changes

     * Remove artificial restriction on lifetime parameters on enums (#604)
     * Add an option for converting usize/isize into size_t/ptrdiff_t. (#606)
     * Allow controlling the cargo profile used for expansion. (#607)
     * Support wider range of expressions in enum discriminants (#614)
     * Support generation of Cython bindings (#590)
     * Fixed some issues with style=tag and recursive structs (#615)
     * Default C style to Both (as specified in docs) (#615)
     * Fix resolution of path dependencies from certain modules. (#629)
     * Support inlined definitions for tuple variants with a single field in C (#631)
    

    ๐Ÿš€ Thanks to all the awesome contributors that contributed to this release.

  • v0.15.0 Changes

    October 07, 2020
     * Allow customizing mangling of generic parameters in C (#575)
     * Box<T> simplifies to T* in C (4ce324c)
     * ManuallyDrop<T> and MaybeUninit<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 (#582)
     * Large character constants have been fixed on Windows (#586)
     * Constants are now generated for typedefs, etc (#589)
     * The `sort_by` configuration option has been made to work for constants (#587)
     * Default sort order is source order now (sort_by = "None"), and can be changed by the above option (#587)
    
  • v0.14.6 Changes

    September 21, 2020
     * Fixed the builds with older versions of rustc.