Releases: getditto/safer_ffi
Releases · getditto/safer_ffi
v0.1.12
v0.1.11
v0.1.10
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]
-edconst
s for SWIG compat by @danielhenrymantilla in #230- [
⚠️ technically breaking] Add interning toBytes
, 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 thanFrom<&'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, and0.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.
- Despite this being a technically breaking change, API-wise (
- Add convenience release scripts by @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 @p-avital in #214 - Add ABI-stable bytes::Bytes lookalike by @p-avital in #215
- Add support for Box<[u8]> and Vec to safer_ffi::bytes::Bytes by @p-avital in #216
- Add free conversion from
Bytes
back toArc
if possible by @p-avital in #217 - Add initial support for stabby by @p-avital in #218
- Fix wrong size used in bounds by @p-avital in #219
- Add support for stabby in Bytes and TaggedOption by @p-avital in #220
- update stabby by @p-avital in #221
- Fix Bytes layout to ensure it has only a single niche, improve stabby integration by @p-avital in #223
- Update stabby, fix bug in bytes downcasting by @p-avital in #224
- Version 0.1.9 release by @danielhenrymantilla in #222
- Add
serde
feature and implementSerialize
/Deserialize
forBytes
by @S4H in #227
New Contributors
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
- Fix macro-not-found error with rust-nightly by @stefunctional in #211 (thank you! 🙏)
Full Changelog: v0.1.7...v0.1.8
v0.1.7
What's Changed
- Remove
inventory v0.1
by @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 @pixsperdavid in #199
- v0.1.6 | Fix
dyn_spawn_blocking()
panicking for cancelled tasks & nits by @danielhenrymantilla in #209
New Contributors
- @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 @busec0 in #194
- Allow
VirtualPtr
to beOption
-wrapped by @danielhenrymantilla in #200
New Contributors
Full Changelog: v0.1.4...v0.1.5
- (Fixes #203)
v0.1.4
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
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 forCType
s - Add
Clone
and other convenience impls forrepr_c
types - Work around
clippy
false positive onClone
impl of uninhabited type by @stefunctional - Fix unguarded
Python
mention when#[ffi_export]
ing aconst
ant - Fix
non_snake_case
warning - Add a bunch of
ReprC<CType = impl Opaque>
impls for stdlib types - Allow
#[repr(opaque)]
onenum
s - Test latest additions
- Fix missing no-
std
cfg-guards on newClone
s - fix webpki dependabot warning
- Add
New Contributors
- @kriswuollett made their first contribution in #174
Full Changelog: v0.1.2...v0.1.3