Skip to content

0.7.0

Choose a tag to compare

@mversic mversic released this 10 Oct 07:39
· 54 commits to main since this release
d328b6f

Added

  • Add decode_unchecked to decode C-compatible values without validating them.
  • Handle types with custom Drop implementations via RustSpec::Drop axis.
  • Support encoding CString and custom nul-terminated aggregate types.
  • Support #[repr_c(transparent)] which uses inner type's CType
  • Generate C-compatible wrappers for bool and Ordering.

Changed

  • Model aliasing explicitly in C ABI carriers CRefMut and CSliceMut.
  • Rename the niche derive setting from NICHE_VALUE to NICHE.
  • Separate header and data handling for Wide types.

Removed

  • Restrict Wide implementations to custom slice-like DSTs to avoid undefined behavior.