Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.17.0 - 2016-05-27
Breaking
- Change the way to link to a library in the cli interface (see the
-l
option in the output of --help
) - Map stdint.h + size_t types to Rust native ones (#256)
- Default to fail on unknown type (see
-allow-unknown-types
) - Convert C
typedef struct {} Test
to rust struct Test {}
(#169)
Added
-no-rust-enums
generate integer constants instead of enums- Derive Debug when possible
- Support for inline enum declarations in struct fields (e.g.:
struct { enum { Option_A, Option_B } field; };
) - Silent lint warnings (#112)
Changed
- Use
clang_sys
instead of the internal ffi - Use
[type; 0]
for the incomplete and dependent sized array - Don't expand typedefed function parameter types (#212)
- Generate padding bytes in struct base on field align and struct size
Fixed
- Fix build on OSX
- Fix overflow of enums variants (#232)
- Fix impl Clone on structs with large array member (#319)
- Fix function typedef generation when K&R style (no args specified) (#212)
0.16.0 - 2016-02-17
Breaking
- Use
std::os::raw
instead of libc
Added
- Translate C enums to Rust enums
Fixed
0.15.0 - 2016-08-31