-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rust crate typed-builder to 0.20.0 #75
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/typed-builder-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09c8f04
to
7cebac1
Compare
7cebac1
to
de20610
Compare
de20610
to
426f5d8
Compare
426f5d8
to
dd5df3a
Compare
dd5df3a
to
00875d4
Compare
00875d4
to
94b12c1
Compare
94b12c1
to
9fbfc7d
Compare
9fbfc7d
to
4202ad9
Compare
3999a0e
to
a7b8893
Compare
a7b8893
to
1f5a4cd
Compare
1f5a4cd
to
51ce5ea
Compare
51ce5ea
to
9bd1a78
Compare
9bd1a78
to
7feb288
Compare
7feb288
to
3832225
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.11.0
->0.20.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
idanarye/rust-typed-builder (typed-builder)
v0.20.0
Added
#[builder(setter(strip_option(fallback = field_opt)))]
to add a fallback unstripped method to the builder struct.#[builder(setter(strip_bool(fallback = field_bool)))]
to add a fallback setter that takes thebool
value to the builder struct.v0.19.1
Fixed
v0.18.2
Fixed
v0.18.1
Fixed
#[allow(clippy::no_effect_underscore_binding)]
to generated methodsthat need to destructure intermediate builder state.
OR
syntax for the dual license.v0.18.0
Fixed
?Sized
generic parameters are now supported.v0.17.0
Changed
easier proces for adding new settings.
Added
#[builder(mutators(...))]
to generate functions on builder to mutate fields#[builder(via_mutator)]
on fields to allow defining fields initializedduring
::builder()
for use withmutators
mutable_during_default_resolution
to allowdefault
expression mutateprevious fields.
Fixed
v0.16.2
Fixed
build
method (see issue #118)v0.16.1
Fixed
#[allow(clippy::exhaustive_enums)]
to generated empty enums used forerror "reporting" (see issue #112)
#[automatically_derived]
to generatedimpl
s (see issue #114)#[allow(clippy::used_underscore_binding)]
to build method and settermethods (see issue #113)
v0.16.0
Added
#[builder(crate_module_path = ...)]
for overcoming cases where the derivemacro is used in another crate's macro (see issue #109)
v0.15.2
Fixed
consecutive commas (see issue #106)
v0.15.1
Fixed
v0.15.0
Changed
crate. This is considered a
breaking change because reexporting and/or renmaing the crate can now prevent
the generated code from finding the types it needs (see issue #101)
Fixed
#[deprecated]
now behaves properly -TypedBuilder
generated code itself does trigger the deprecation warning, and instead the
setter for that field now does.
build
method when required fields are not provided now returnsthe never type ("
!
"). Refer to PR #97 for more thorough explanation.Added
#[builder(field_defaults(setter(prefix = "...", suffix = "...")))]
.This either prepends or appends the provided string to the setter method. This allows method names like:
set_x()
,with_y()
, orset_z_value()
.v0.14.0
Added
build_method(into)
andbuild_method(into = ...)
.v0.13.0
Changed
y
empty tuples. This means the empty builder, where no parameter is yet set.
Fixed
#[builder(build_method(...))]
now affects the fakebuild
method that'sgenerated to add information to the compiler error.
v0.12.0
Removed
builder_method_doc = "..."
,builder_type_doc = "..."
andbuild_method_doc = "..."
are replaced withbuilder_method(doc = "...")
,builder_type(doc = "...")
andbuild_method(doc = "...")
.Added
build_method(...)
now has adoc
field.builder_method(...)
andbuilder_type(...)
, which are structured similarly tobuild_method(...)
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.