Releases: spastorino/dynosaur
Releases · spastorino/dynosaur
v0.2.0
Breaking change: You must now specify non-default visibility in the macro invocation; it is not inherited from the trait. Use it like #[dynosaur(pub DynMyTrait)]
.
- Properly generate unrecheable code for non async fns by @spastorino in #56
- Add ability to handle DynTrait visibility by @spastorino in #58
- Fix is_async for -> impl Future checks by @spastorino in #61
- Expand APITs to make them work for dynamic dispatch in traits by @spastorino in #59
Full Changelog: 0.1.3...0.2.0
v0.1.3
use
DynTrait with visibility of original trait by @Jesse-Bakker in #37- Remove DynMyTrait's new constructor by @spastorino in #41
- Properly handle functions that do not return RPITs by @spastorino in #44
- Properly support non future impl traits by @spastorino in #46
- Expand wild patterns in args by @spastorino in #49
- Lifetimes mentioned in return type also matter by @spastorino in #48
Full Changelog: 0.1.2...0.1.3
v0.1.2
- feat: associated type bounds by @TroyKomodo in #23
- Default method trait by @spastorino in #27
- Filter out where Self: Sized methods by @spastorino in #28
- Add license files by @spastorino in #31
Full Changelog: 0.1.1...0.1.2
v0.1.1
This is the initial release of dynosaur. We are releasing in hopes of getting feedback from users.
The #[dynosaur::dynosaur]
macro was added with basic functionality for using async
and -> impl Trait
methods with dynamic dispatch. See the docs for more info.