Releases: getditto/safer_ffi
Releases · getditto/safer_ffi
v0.1.12
What's Changed
- Fix
Bytes'ReprCimpl, asvtableis not necessarily aligned by Pierre Avital (@p-avital) in #235
Full Changelog: v0.1.11...v0.1.12
v0.1.11
What's Changed
- Upgrade stabby to 36.1.1 by Pierre Avital (@p-avital) in #234
Full Changelog: v0.1.10...v0.1.11
v0.1.10
What's Changed
- Add ability to emit type aliases to C headers by Daniel Henry-Mantilla (@danielhenrymantilla) in #228
- Fix FFI typedef pattern not supporting generics by Daniel Henry-Mantilla (@danielhenrymantilla) in #229
- 🙈 Exclude examples/point from workspace by Ben Chatelain (@phatblat) in #212
raw_constaddition to#[ffi_export]-edconsts for SWIG compat by Daniel Henry-Mantilla (@danielhenrymantilla) in #230- [
⚠️ technically breaking] Add interning toBytes, reducing the need for allocations when slices are small. by Pierre Avital (@p-avital) in #231- Despite this being a technically breaking change, API-wise (
Bytes : From<&'static [u8]>rather thanFrom<&'any [u8]>), and ABI-wise (Bytes'.vtablepointer 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, and0.1.9has been out for enough of a short time, not to warrant a major bump.0.1.9will be yanked in a couple weeks.
- Despite this being a technically breaking change, API-wise (
- Add convenience release scripts by Daniel Henry-Mantilla (@danielhenrymantilla) in #232
Full Changelog: v0.1.9...v0.1.10
v0.1.9
What's Changed
- Add an ABI-stable version of
Option. by Pierre Avital (@p-avital) in #214 - Add ABI-stable bytes::Bytes lookalike by Pierre Avital (@p-avital) in #215
- Add support for Box<[u8]> and Vec to safer_ffi::bytes::Bytes by Pierre Avital (@p-avital) in #216
- Add free conversion from
Bytesback toArcif possible by Pierre Avital (@p-avital) in #217 - Add initial support for stabby by Pierre Avital (@p-avital) in #218
- Fix wrong size used in bounds by Pierre Avital (@p-avital) in #219
- Add support for stabby in Bytes and TaggedOption by Pierre Avital (@p-avital) in #220
- update stabby by Pierre Avital (@p-avital) in #221
- Fix Bytes layout to ensure it has only a single niche, improve stabby integration by Pierre Avital (@p-avital) in #223
- Update stabby, fix bug in bytes downcasting by Pierre Avital (@p-avital) in #224
- Version 0.1.9 release by Daniel Henry-Mantilla (@danielhenrymantilla) in #222
- Add
serdefeature and implementSerialize/DeserializeforBytesby Frankie (@S4H) in #227
New Contributors
- Pierre Avital (@p-avital) made their first contribution in #214
- Frankie (@S4H) made their first contribution in #227
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
- Fix macro-not-found error with rust-nightly by Stephane Raux (@stefunctional) in #211 (thank you! 🙏)
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
- Remove
inventory v0.1by Daniel Henry-Mantilla (@danielhenrymantilla) in #210
Full Changelog: v0.1.6...v0.1.7
v0.1.6
What's Changed
- C header gen: optional extra text directly after the include guard by David Butler (@pixsperdavid) in #199
- v0.1.6 | Fix
dyn_spawn_blocking()panicking for cancelled tasks & nits by Daniel Henry-Mantilla (@danielhenrymantilla) in #209
New Contributors
- David Butler (@pixsperdavid) made their first contribution in #199
Full Changelog: v0.1.5...v0.1.6
v0.1.5
What's Changed
- [C#] Specify the complete path for the Rust Lib - to be used on .NET >= 6 iOS by Bulzan Sergiu (@busec0) in #194
- Allow
VirtualPtrto beOption-wrapped by Daniel Henry-Mantilla (@danielhenrymantilla) in #200
New Contributors
- Bulzan Sergiu (@busec0) made their first contribution in #194
Full Changelog: v0.1.4...v0.1.5
- (Fixes #203)
v0.1.4
What's Changed
- Implement Clone as expected for Copy types by Stephane Raux (@stefunctional) in #184
- quickstart remove compile error by Kristopher Wuollett (@kriswuollett) in #172
- Rename 'cfg_match' to 'match_cfg' to avoid collision of std nightly macro with the same name. by Jordan Santell (@jsantell) in #191
New Contributors
- Jordan Santell (@jsantell) made their first contribution in #191
Full Changelog: v0.1.3...v0.1.4
v0.1.3
What's Changed
- Improve the
ffi_await!situation: mainly, the UX on syntax error by Daniel Henry-Mantilla (@danielhenrymantilla) in #176 - Document crate-type lib requirement for generate-sources by Kristopher Wuollett (@kriswuollett) in #174
- Fix docs:
#[ReprC::opaque]was replaced with#[repr(opaque)]by Philipp Oppermann (@phil-opp) in #182 - A bunch of tiny improvements and fixes by Daniel Henry-Mantilla (@danielhenrymantilla) in #183
- Add
zeroed()requirement forCTypes - Add
Cloneand other convenience impls forrepr_ctypes - Work around
clippyfalse positive onCloneimpl of uninhabited type by Stephane Raux (@stefunctional) - Fix unguarded
Pythonmention when#[ffi_export]ing aconstant - Fix
non_snake_casewarning - Add a bunch of
ReprC<CType = impl Opaque>impls for stdlib types - Allow
#[repr(opaque)]onenums - Test latest additions
- Fix missing no-
stdcfg-guards on newClones - fix webpki dependabot warning
- Add
New Contributors
- Kristopher Wuollett (@kriswuollett) made their first contribution in #174
Full Changelog: v0.1.2...v0.1.3