Upgrade builder-pattern-macro to syn v2 / bitflags v2 and align macro parsing APIs#31
Draft
Upgrade builder-pattern-macro to syn v2 / bitflags v2 and align macro parsing APIs#31
builder-pattern-macro to syn v2 / bitflags v2 and align macro parsing APIs#31Conversation
Co-authored-by: SeokminHong <11614766+SeokminHong@users.noreply.github.com> Agent-Logs-Url: https://github.com/SeokminHong/builder-pattern/sessions/0009858d-a639-476e-86b5-9bd5c9bd0cde
Copilot
AI
changed the title
[WIP] Update dependency versions to the latest stable releases
Upgrade Rust dev-dependencies to current major versions (uuid, tokio)
Mar 26, 2026
…sions Co-authored-by: SeokminHong <11614766+SeokminHong@users.noreply.github.com> Agent-Logs-Url: https://github.com/SeokminHong/builder-pattern/sessions/b5c69e90-22ee-4b28-bf99-9ca0171854e4
Co-authored-by: SeokminHong <11614766+SeokminHong@users.noreply.github.com> Agent-Logs-Url: https://github.com/SeokminHong/builder-pattern/sessions/b5c69e90-22ee-4b28-bf99-9ca0171854e4
Co-authored-by: SeokminHong <11614766+SeokminHong@users.noreply.github.com> Agent-Logs-Url: https://github.com/SeokminHong/builder-pattern/sessions/b5c69e90-22ee-4b28-bf99-9ca0171854e4
Copilot
AI
changed the title
Upgrade Rust dev-dependencies to current major versions (uuid, tokio)
Upgrade Mar 26, 2026
builder-pattern-macro to syn v2 / bitflags v2 and align macro parsing APIs
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 update advances
builder-pattern-macrodependency versions and adapts the derive macro implementation to current upstream APIs. The goal is to modernize dependency constraints while preserving existing macro behavior.Dependency upgrades
builder-pattern-macro/Cargo.tomlsyn:1.0→2bitflags:1.3→2synv2 migration in macro parsingsynaccess patterns:attr.path→attr.path()VisPublicconstruction →parse_quote!(pub)parse_meta/NestedMetaparsing path replaced with token parsing fromattr.meta.require_list()async) viaIdent::parse_any.bitflagsv2 compatibilitySetters(Clone,Copy,PartialEq,Eq) to preserve operator/pattern usage semantics used across builder generation code.Clippy-oriented cleanup in touched paths
.into_iter()on ranges.PartialOrdimplementation (Some(self.cmp(other)))..to_string()informat!args.setterparse failure messages with descriptive.expect(...).Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.