Skip to content

Support syn 3.0#570

Merged
tomhoule merged 1 commit into
graphql-rust:mainfrom
emilbonnek:syn-3
Jul 19, 2026
Merged

Support syn 3.0#570
tomhoule merged 1 commit into
graphql-rust:mainfrom
emilbonnek:syn-3

Conversation

@emilbonnek

@emilbonnek emilbonnek commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Widens the syn requirement to >=2.0, <4 so consumers already on syn 3 can unify the graph. Requirement only, no lockfile bump: syn 3.0 needs Rust 1.71 and this crate advertises 1.66, so the committed lock stays on syn 2. Refs #569.

The Rustfmt check failure looks pre-existing and unrelated: it flags a __TypeKind import order in graphql_client_codegen/src/schema/json_conversion.rs, a file this PR does not touch. main is red on the same job.

@tomhoule

Copy link
Copy Markdown
Member

Sounds good to me. Ideally we'd check that everything compiles with both versions of syn in CI, but I don't have the bandwidth to do that myself. A contribution there would be very welcome.

@tomhoule
tomhoule merged commit 23bd976 into graphql-rust:main Jul 19, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants