Skip to content

Releases: getditto/safer_ffi

v0.1.12

01 Aug 14:07
5701f26
Compare
Choose a tag to compare

What's Changed

  • Fix Bytes' ReprC impl, as vtable is not necessarily aligned by @p-avital in #235

Full Changelog: v0.1.11...v0.1.12

v0.1.11

31 Jul 17:31
6b3876a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.10...v0.1.11

v0.1.10

30 Jul 10:43
Compare
Choose a tag to compare

What's Changed

  • Add ability to emit type aliases to C headers by @danielhenrymantilla in #228
  • Fix FFI typedef pattern not supporting generics by @danielhenrymantilla in #229
  • 🙈 Exclude examples/point from workspace by @phatblat in #212
  • raw_const addition to #[ffi_export]-ed consts for SWIG compat by @danielhenrymantilla in #230
  • [⚠️ technically breaking] Add interning to Bytes, reducing the need for allocations when slices are small. by @p-avital in #231
    • Despite this being a technically breaking change, API-wise (Bytes : From<&'static [u8]> rather than From<&'any [u8]>), and ABI-wise (Bytes' .vtable pointer can now be an ill-alligned odd address representing the bit-tagging of its now added inlined-bytes representation), both of these cases are small enough, and 0.1.9 has been out for enough of a short time, not to warrant a major bump. 0.1.9 will be yanked in a couple weeks.
  • Add convenience release scripts by @danielhenrymantilla in #232

Full Changelog: v0.1.9...v0.1.10

v0.1.9

15 Jul 15:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.8...v0.1.9

v0.1.8

16 May 12:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.7...v0.1.8

v0.1.7

08 Apr 11:26
9311ae8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.6...v0.1.7

v0.1.6

29 Mar 10:54
b459554
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.5...v0.1.6

v0.1.5

31 Jan 22:25
cfd329c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.4...v0.1.5

v0.1.4

25 Oct 09:30
Compare
Choose a tag to compare

What's Changed

  • Implement Clone as expected for Copy types by @stefunctional in #184
  • quickstart remove compile error by @kriswuollett in #172
  • Rename 'cfg_match' to 'match_cfg' to avoid collision of std nightly macro with the same name. by @jsantell in #191

New Contributors

Full Changelog: v0.1.3...v0.1.4

v0.1.3

11 Sep 11:01
Compare
Choose a tag to compare

What's Changed

  • Improve the ffi_await! situation: mainly, the UX on syntax error by @danielhenrymantilla in #176
  • Document crate-type lib requirement for generate-sources by @kriswuollett in #174
  • Fix docs: #[ReprC::opaque] was replaced with #[repr(opaque)] by @phil-opp in #182
  • A bunch of tiny improvements and fixes by @danielhenrymantilla in #183
    • Add zeroed() requirement for CTypes
    • Add Clone and other convenience impls for repr_c types
    • Work around clippy false positive on Clone impl of uninhabited type by @stefunctional
    • Fix unguarded Python mention when #[ffi_export]ing a constant
    • Fix non_snake_case warning
    • Add a bunch of ReprC<CType = impl Opaque> impls for stdlib types
    • Allow #[repr(opaque)] on enums
    • Test latest additions
    • Fix missing no-std cfg-guards on new Clones
    • fix webpki dependabot warning

New Contributors

Full Changelog: v0.1.2...v0.1.3