This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/main by this push:
new a0051f7708 chore(deps): bump syn from 2.0.119 to 3.0.2 (#10391)
a0051f7708 is described below
commit a0051f770850ff78a535058e95fb6c071d4a92a3
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Mon Jul 20 14:05:09 2026 -0400
chore(deps): bump syn from 2.0.119 to 3.0.2 (#10391)
Bumps [syn](https://github.com/dtolnay/syn) from 2.0.119 to 3.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/syn/releases">syn's
releases</a>.</em></p>
<blockquote>
<h2>3.0.2</h2>
<ul>
<li>Add <a
href="https://docs.rs/syn/3/syn/struct.Error.html#method.new_range"><code>Error::new_range(start..end,
"msg")</code></a> (<a
href="https://redirect.github.com/dtolnay/syn/issues/2068">#2068</a>, <a
href="https://redirect.github.com/dtolnay/syn/issues/2070">#2070</a>)</li>
<li>Add <a
href="https://docs.rs/syn/3/syn/buffer/struct.Cursor.html#method.prev_span"><code>Cursor::prev_span</code></a></li>
</ul>
<h2>3.0.1</h2>
<ul>
<li>Parse const traits (<a
href="https://redirect.github.com/dtolnay/syn/issues/2056">#2056</a>, <a
href="https://redirect.github.com/dtolnay/syn/issues/2057">#2057</a>, <a
href="https://redirect.github.com/dtolnay/syn/issues/2058">#2058</a>, <a
href="https://redirect.github.com/dtolnay/syn/issues/2063">#2063</a>, <a
href="https://redirect.github.com/dtolnay/syn/issues/2064">#2064</a>)</li>
<li>Parse unsafe binder types (<a
href="https://redirect.github.com/dtolnay/syn/issues/2065">#2065</a>)</li>
<li>Parse impl restrictions (<a
href="https://redirect.github.com/dtolnay/syn/issues/2066">#2066</a>)</li>
</ul>
<h2>3.0.0</h2>
<p>This release contains adjustments to the syntax tree to account for
ongoing Rust language development from the 3 years since syn 2.0.0 and
to anticipate some in-flight Rust language RFCs.</p>
<p>These include: default values in fields, pinned type sugar, raw
lifetimes, generator blocks and functions, unnamed enum variants,
attributes in tuple types and tuple patterns, named arguments in
parenthesized generic argument lists, lightweight clones, const traits,
const function pointers, mutability restricted fields, supertrait auto
implementation, final associated functions, trait implementability
restrictions, const blocks in path arguments, item-level const blocks,
return type notation, never patterns, function delegation, mutable
by-reference bindings, in-place initialization, field projections,
explicitly dyn-compatible traits, view types, file-level frontmatter,
generic const arguments, guard patterns, lazy type aliases, explicitly
safe foreign items, super let, unsafe fields, pattern types,
heterogeneous try-blocks, function contracts, async function trait
bounds, static closure coroutine syntax, unsafe binder types, move
expressions, for-await loops, and postfix keywords.</p>
<!-- raw HTML omitted -->
<!-- raw HTML omitted -->
<h1>Breaking changes</h1>
<h2>Modifiers</h2>
<p>To reserve more room for language evolution, there are 10 new
non-exhaustive structs in the syntax tree having the following
commonality:</p>
<ul>
<li>
<p>Name ending in <code>Modifiers</code>. {<code>BlockModifiers</code>,
<code>ClosureModifiers</code>, <code>ConstModifiers</code>,
<code>FieldModifiers</code>, <code>FnModifiers</code>,
<code>ImplModifiers</code>, <code>LocalModifiers</code>,
<code>TraitBoundModifiers</code>, <code>TraitModifiers</code>,
<code>TypeModifiers</code>}</p>
</li>
<li>
<p>Each implements <code>Default</code>. The default value is guaranteed
to comprise no tokens.</p>
</li>
<li>
<p>Non-exhaustive. Can only be instantiated by Syn's parser or by
creating and then mutating <code>▁▁Modifiers::default()</code>.</p>
</li>
<li>
<p>Does not implement <code>Parse</code>. When parsing, they are parsed
by the enclosing syntax tree node.</p>
</li>
<li>
<p>Does not implement <code>ToTokens</code>. In some cases the syntax
that these nodes might hold in the future is not necessarily contiguous
tokens.</p>
</li>
<li>
<p>Provides <code>.require_empty() -> Result<()></code> which
returns a meaningfully spanned error if the modifiers are different from
the empty default. This enables a caller to reject syntax it does not
recognize without knowing what that syntax may be.</p>
</li>
</ul>
<h2>Types</h2>
<ul>
<li>
<p><code>Type::BareFn</code> has been renamed to
<code>Type::FnPtr</code> to mirror the compiler's terminology. Together
with this, <code>BareVariadic</code> is renamed to
<code>FnPtrVariadic</code>.</p>
</li>
<li>
<p>The mutually exclusive <code>const_token</code> and
<code>mutability</code> fields of <code>Type::Ptr</code> have been
unified into an enum of type <code>PointerMutability</code>, which was
already previously used by <code>Expr::RawAddr</code>.</p>
</li>
<li>
<p>Every <code>Type</code> variant now holds attributes, which can
represent the attributes of element types inside a tuple type, or
attributes for a function return type.</p>
</li>
<li>
<p><code>BareFnArg</code> is renamed to <code>NamedArg</code> and is
used in <code>ParenthesizedGenericArguments</code>, in addition to the
existing use in <code>Type::FnPtr</code>.</p>
</li>
</ul>
<h2>Expressions</h2>
<ul>
<li>In <code>Expr::Closure</code>, the fields <code>or1_token</code> and
<code>or2_token</code> have been renamed to <code>inputs_begin</code>
and <code>inputs_end</code> to indicate the beginning and ending
<code>|</code> token of the closure inputs.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dtolnay/syn/commit/88ee7be2197e61d6e84f0bff38eb2fe57998a765"><code>88ee7be</code></a>
Release 3.0.2</li>
<li><a
href="https://github.com/dtolnay/syn/commit/587bc203a0e975e8261a65791203e8912edb1c42"><code>587bc20</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/syn/issues/2070">#2070</a>
from dtolnay/emptyrange</li>
<li><a
href="https://github.com/dtolnay/syn/commit/96801f717ed1ae7943182afe1fd4c5857c50428b"><code>96801f7</code></a>
Allow Error::new_range at empty cursor range</li>
<li><a
href="https://github.com/dtolnay/syn/commit/9dc16c94cf0468dc4e4b1f6011cfd4040246c06c"><code>9dc16c9</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/syn/issues/2069">#2069</a>
from dtolnay/prevspan</li>
<li><a
href="https://github.com/dtolnay/syn/commit/1db76b7ba3f4e16430e6b2c96f160c05160e056e"><code>1db76b7</code></a>
Align on using impl trait across all Error constructors</li>
<li><a
href="https://github.com/dtolnay/syn/commit/bfa1ebf336f5fae0a0a22a89aeb991e2cd96c65a"><code>bfa1ebf</code></a>
Make Cursor::prev_span public</li>
<li><a
href="https://github.com/dtolnay/syn/commit/c6ac5e57086963d9fe549ea1576d062f30b1ae32"><code>c6ac5e5</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/syn/issues/2068">#2068</a>
from dtolnay/newrange</li>
<li><a
href="https://github.com/dtolnay/syn/commit/143645404be46202362a576650f2e1f8d56ae086"><code>1436454</code></a>
Add Error::new_range constructor taking Range<Cursor></li>
<li><a
href="https://github.com/dtolnay/syn/commit/123c1485eaa5cb6db1034711136a0d65b17e7f0a"><code>123c148</code></a>
Release 3.0.1</li>
<li><a
href="https://github.com/dtolnay/syn/commit/bc11dddf65ebc8a1398f5ad9d0e1a1b4e9a1e9cf"><code>bc11ddd</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/syn/issues/2067">#2067</a>
from dtolnay/fastpeek</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/syn/compare/2.0.119...3.0.2">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
</details>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot]
<49699333+dependabot[bot]@users.noreply.github.com>
---
Cargo.lock | 79 +++++++++++++++++++++++++++--------------------
parquet_derive/Cargo.toml | 2 +-
2 files changed, 46 insertions(+), 35 deletions(-)
diff --git a/Cargo.lock b/Cargo.lock
index e664df61e4..74d0759d5f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -567,7 +567,7 @@ checksum =
"c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -578,7 +578,7 @@ checksum =
"9035ad2d096bed7955a320ee7e2230574d28fd3c3a0f186cbea1ff3c7eed5dbb"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -733,7 +733,7 @@ dependencies = [
"proc-macro2",
"quote",
"rustversion",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -917,7 +917,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -1147,7 +1147,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -1158,7 +1158,7 @@ checksum =
"ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
dependencies = [
"darling_core",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -1169,7 +1169,7 @@ checksum =
"1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -1207,7 +1207,7 @@ checksum =
"97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -1378,7 +1378,7 @@ checksum =
"e835b70203e41293343137df5c0664546da5745f82ec9b84d40be8336958447b"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -2208,7 +2208,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -2438,7 +2438,7 @@ dependencies = [
"parquet",
"proc-macro2",
"quote",
- "syn",
+ "syn 3.0.2",
]
[[package]]
@@ -2503,7 +2503,7 @@ checksum =
"a990e22f43e84855daf260dded30524ef4a9021cc7541c26540500a50b624389"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -2588,7 +2588,7 @@ source =
"registry+https://github.com/rust-lang/crates.io-index"
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
dependencies = [
"proc-macro2",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -2634,7 +2634,7 @@ dependencies = [
"prost",
"prost-types",
"regex",
- "syn",
+ "syn 2.0.119",
"tempfile",
]
@@ -2648,7 +2648,7 @@ dependencies = [
"itertools 0.14.0",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3126,7 +3126,7 @@ checksum =
"d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3259,7 +3259,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3271,7 +3271,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3291,6 +3291,17 @@ dependencies = [
"unicode-ident",
]
+[[package]]
+name = "syn"
+version = "3.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a207d6d6a2b7fc470b80443726053f18a2481b7e1eee970597051596567987a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
[[package]]
name = "sync_wrapper"
version = "1.0.2"
@@ -3308,7 +3319,7 @@ checksum =
"728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3386,7 +3397,7 @@ checksum =
"4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3397,7 +3408,7 @@ checksum =
"ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3476,7 +3487,7 @@ checksum =
"385a6cb71ab9ab790c5fe8d67f1645e6c450a7ce006a33de03daa956cf70a496"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3586,7 +3597,7 @@ dependencies = [
"prettyplease",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3611,7 +3622,7 @@ dependencies = [
"prost-build",
"prost-types",
"quote",
- "syn",
+ "syn 2.0.119",
"tempfile",
"tonic-build",
]
@@ -3684,7 +3695,7 @@ checksum =
"7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -3914,7 +3925,7 @@ dependencies = [
"bumpalo",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
"wasm-bindgen-shared",
]
@@ -4087,7 +4098,7 @@ checksum =
"053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -4098,7 +4109,7 @@ checksum =
"3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -4345,7 +4356,7 @@ dependencies = [
"heck",
"indexmap",
"prettyplease",
- "syn",
+ "syn 2.0.119",
"wasm-metadata",
"wit-bindgen-core",
"wit-component",
@@ -4361,7 +4372,7 @@ dependencies = [
"prettyplease",
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
"wit-bindgen-core",
"wit-bindgen-rust",
]
@@ -4453,7 +4464,7 @@ checksum =
"de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
"synstructure",
]
@@ -4474,7 +4485,7 @@ checksum =
"70e3cd084b1788766f53af483dd21f93881ff30d7320490ec3ef7526d203bad4"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
@@ -4494,7 +4505,7 @@ checksum =
"11532158c46691caf0f2593ea8358fed6bbf68a0315e80aae9bd41fbade684a1"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
"synstructure",
]
@@ -4534,7 +4545,7 @@ checksum =
"625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555"
dependencies = [
"proc-macro2",
"quote",
- "syn",
+ "syn 2.0.119",
]
[[package]]
diff --git a/parquet_derive/Cargo.toml b/parquet_derive/Cargo.toml
index cc005237b3..81565a4d6d 100644
--- a/parquet_derive/Cargo.toml
+++ b/parquet_derive/Cargo.toml
@@ -34,7 +34,7 @@ proc-macro = true
[dependencies]
proc-macro2 = { version = "1.0", default-features = false }
quote = { version = "1.0", default-features = false }
-syn = { version = "2.0", features = ["extra-traits"] }
+syn = { version = "3.0", features = ["extra-traits"] }
[dev-dependencies]
parquet = { workspace = true }