Skip to content

Releases: LazyMechanic/moq

v0.5.0

05 Nov 19:19
Compare
Choose a tag to compare

[0.5.0] - 2024-11-05

Changed

  • Change default generated mock name by automock %TRAIT%Mock -> Mock%TRAIT%.
  • Bump syn 1.0.x -> 2.0.x

Added

  • Supports RPITIT (Return Position Impl Trait In Trait).
  • #[moq(rename = "FooBar")] / #[moq::automock(rename = "FooBar")] attribute for renaming generated mock struct.
  • #[moq(output = "Type")] attribute for RPITIT