Skip to content

Releases: mversic/rust-spec

0.7.0

Choose a tag to compare

@mversic mversic released this 28 Oct 08:48
513c7dd

Changed

  • Replace the Opaque marker trait with the RustSpec::Opacity = Opaque | NonOpaque axis.
  • Reject raw pointer fields in non-opaque derives and conflicting opaque attributes.

Fixed

  • Classify raw pointers and NonNull according to the pointee's metadata shape.
  • Correct custom and automatic drop classification for containers and derived types.
  • Preserve payload mutability in derived enums and classify custom niches as NonRobust.
  • Check unresolved enum discriminants against the inferred tag range.

0.6.1

Choose a tag to compare

@mversic mversic released this 21 Oct 06:41
fb8af73

Fixed

  • inherit Layout axis for UnsafeCell from the wrapped type

0.6.0

Choose a tag to compare

@mversic mversic released this 16 Oct 20:48
de41173

Added

  • add support for opaque types
  • make Mutability = Exclusive | WithInterior axis public

0.5.2

Choose a tag to compare

@mversic mversic released this 11 Oct 16:15
5270807

Fixed

  • Set <String as RustSpec>::__IndirectTrap to NonRobust

0.5.1

Choose a tag to compare

@mversic mversic released this 09 Oct 12:50
ccd1a8c

Added

  • Categorize types with custom Drop based on drop behavior of their contents

Changed

  • Flatten the Drop classification markers by removing WithDrop wrapper

0.5.0

Choose a tag to compare

@mversic mversic released this 09 Oct 06:17
79f7708

Added

  • Classify custom and inner drop behavior through RustSpec::Drop.
  • Support #[rust_spec(custom_drop)] with compile-time checks.

Fixed

  • Reject #[rust_spec(with_custom_niche) on enums and unions.

Changed

  • Rename #[rust_spec(with_custom_niche)] to #[rust_spec(custom_niche)].

0.4.1

Choose a tag to compare

@mversic mversic released this 02 Oct 23:34
ec19e85

Fixed

  • Slices now inherit Mutability of the element type

0.4.0

Choose a tag to compare

@mversic mversic released this 30 Sep 22:44
2eabd30

Added

  • introduce new Size axis classifier NulTerminated

0.3.1

Choose a tag to compare

@mversic mversic released this 21 Sep 03:30
9b107a5
v0.3.1

chore: bump dependencies

0.3.0

Choose a tag to compare

@mversic mversic released this 20 Sep 18:43
688b6d6

Added

  • support function pointers