Releases: bincode-org/virtue
Releases · bincode-org/virtue
v0.0.7
Breaking change
Generator::impl_for
and::impl_for_with_lifetimes
no longer returns aResult
What's Changed
- Mod and struct by @VictorKoenders in #15
- Several utility functions added by @VictorKoenders in #15
Full Changelog: v0.0.6...v0.0.7
v0.0.6
What's Changed
- made parse_tagged_attribute parse the body of the tag by @VictorKoenders in #9
- Exposed UnnamedField::type_string by @VictorKoenders in #11
- Added Generator::export_to_file by @VictorKoenders in #12
- Added more entries to virtue::prelude by @VictorKoenders in #13 and #14
Full Changelog: v0.0.5...v0.0.6
v0.0.5
What's Changed
- Exposed the enum/struct attributes when calling
.into_generate()
by @VictorKoenders in #6 - Made virtue more lenient with accepting String in functions by @VictorKoenders in #7
- Release v0.0.5 by @VictorKoenders in #8
Breaking change
with_generic
is split intowith_generic
(no dependencies) andwith_generic_deps
(with dependencies)with_lifetime
is split intowith_lifetime
(no dependencies) andwith_lifetime_deps
(with dependencies)
Full Changelog: v0.0.4...v0.0.5
V0.0.4
What's Changed
AttributeAccess
extension methods by @tguichaoua in #2- Added CI by @VictorKoenders in #3
- Fixed an issue where creating a type in a macro input wouldn't parse correctly by @VictorKoenders in #4
New Contributors
- @tguichaoua made their first contribution in #2
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Added modify_generic_constraints
for Impl
and ImplFor
V0.0.2
Breaking
- Made
StreamBuilder::group
always returncrate::Result<&mut Self>
- Made most
StreamBuilder
methods return&mut Self
so they can be chained - Made
FromAttribute::parse
returnResult<Option<Self>>
(wasOption<Self>
before) - Renamed
IdentOrIndex
'shas_field_attribute
tohas_attribute
- Changed most of
FnBuilder
's argument fromInto<String>
to&str
Misc
- Added
Error::Custom
and a couple ofError::custom_*
helpers - Added
get_attribute
toUnnamedField
andIdentOrIndex
- Added
has_attribute
toUnnamedField
- Added helper function
utils::parse_tagged_attribute
- Added
Generator::impl
andGenerator::generate_impl
for generatingimpl
blocks without trait - Added
FnBuilder::with_lifetime
Full Changelog: v0.0.1...v0.0.2