Skip to content

Update Rust crate proc-macro2 to 1.0.107 - #33

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/proc-macro2-1.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/proc-macro2-1.x

Conversation

@renovate

@renovate renovate Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
proc-macro2 dependencies patch 1 → 1.0.107

Release Notes

dtolnay/proc-macro2 (proc-macro2)

v1.0.107

Compare Source

  • Documentation improvements

v1.0.106

Compare Source

  • Optimize Span::byte_range (#​530)

v1.0.105

Compare Source

  • Make std dependencies more easily discoverable in source code (#​528)

v1.0.104

Compare Source

v1.0.103

Compare Source

  • Add semver-exempt Literal methods str_value, cstr_value, byte_str_value (#​525)

v1.0.102

Compare Source

  • Fix interaction of Display impls for TokenStream and Ident with formatting specifiers for padding, alignment, width (#​523, #​524)

v1.0.101

Compare Source

  • Optimize Span location accessors (#​519)

v1.0.100

Compare Source

  • Stabilize Span methods on Rust 1.88+: start, end, line, column, file, local_file (#​517, #​518)

v1.0.99

Compare Source

  • Prevent Span's unstable API becoming unavailable from a future new compiler lint (#​515)

v1.0.98

Compare Source

v1.0.97

Compare Source

v1.0.96

Compare Source

  • Simplify how rustdoc flags are decided during docs.rs builds (#​511)

v1.0.95

Compare Source

  • Update semver-exempt API under RUSTFLAGS=--cfg=procmacro2_semver_exempt to that of nightly-2025-04-16 (#​497)

v1.0.94

Compare Source

  • Documentation improvements

v1.0.93

Compare Source

v1.0.92

Compare Source

  • Improve compiler/fallback mismatch panic message (#​487)

v1.0.91

Compare Source

  • Fix panic "compiler/fallback mismatch 949" when using TokenStream::from_str from inside a proc macro to parse a string containing doc comment (#​484)

v1.0.90

Compare Source

v1.0.89

Compare Source

  • Ensure OUT_DIR is left with deterministic contents after build script execution (#​474)

v1.0.88

Compare Source

  • Return accurate line and column from Span::start and Span::end inside proc macros on nightly (#​472)

v1.0.87

Compare Source

  • Check valid punctuation character in Punct::new (#​470)

v1.0.86

Compare Source

  • Documentation improvements

v1.0.85

Compare Source

  • Mark some tests as only for 64-bit targets (#​463)

v1.0.84

Compare Source

v1.0.83

Compare Source

  • Optimize the representation of Ident (#​462)

v1.0.82

Compare Source

  • Resolve unexpected_cfgs warning (#​456)

v1.0.81

Compare Source

  • Documentation improvements

v1.0.80

Compare Source

  • Add Literal::byte_character constructor (#​449)
  • Add Literal::c_string constructor #​450)

v1.0.79

Compare Source

  • Clean up dead code

v1.0.78

Compare Source

v1.0.77

Compare Source

v1.0.76

Compare Source

  • Work around dead_code warning false positive (#​435)

v1.0.75

Compare Source

  • Improve error messages related to proc_macro::LexError (#​434)

v1.0.74

Compare Source

  • Work around improperly cached build script result by sccache (#​432)

v1.0.73

Compare Source

  • Documentation improvements

v1.0.72

Compare Source

  • Improve build script to be robust to proc_macro::Span unstable API changes

v1.0.71

Compare Source

  • Turn on deny(unsafe_op_in_unsafe_fn) lint

v1.0.70

Compare Source

  • Add #[track_caller] on Ident::new so that panics on invalid input are attributed to the caller (#​423)

v1.0.69

Compare Source

  • Fix Span::source_text() bug causing panics or incorrect source text (#​410)

v1.0.68

Compare Source

  • Fix panic in Span::source_text() when source contains multibyte characters (#​408)

v1.0.67

Compare Source

  • Special handling for the (/*ERROR*/) placeholder that rustc uses for macros that fail to expand (#​405)

v1.0.66

Compare Source

  • Raise required compiler from Rust 1.31 to 1.56

v1.0.65

Compare Source

  • Documentation improvements

v1.0.64

Compare Source

  • Fix parsing of bare \r in between tokens (#​399)

v1.0.63

Compare Source

v1.0.62

Compare Source

yanked

v1.0.61

Compare Source

  • Stricter parsing of whitespace in cooked string literals and between tokens (#​392, #​393)

v1.0.60

Compare Source

  • Eliminate uses of unstable proc_macro::Span::before/after (#​391)

v1.0.59

Compare Source

  • Enable proc_macro support on wasm targets (#​388)

v1.0.58

Compare Source

  • Make rustc version detection more robust by compiling against modernest stable features (#​384)

v1.0.57

Compare Source

v1.0.56

Compare Source

  • Circumvent clippy::octal_escapes lint inside generated string and byte-string literals (#​363, #​380)
  • Provide RefUnwindSafe impls for compilers older than 1.58 (#​382)

v1.0.55

Compare Source

  • Set a meaningful Span for literals produced via the FromStr impl of Literal (#​378)
  • Implement Literal::subspan in non-macro contexts when "span-locations" feature is enabled (#​379)

v1.0.54

Compare Source

  • Performance improvement to "span-locations" feature (#​373)
  • Fix unbounded memory usage when calling proc-macro2's parser from a fuzzer (#​374)

v1.0.53

Compare Source

  • Add support for Rust 1.66's source_text() method (#​350)

v1.0.52

Compare Source

v1.0.51

Compare Source

  • Implement rustc's limit on the number of # used for delimiting a raw string literal: 255 (#​364)

v1.0.50

Compare Source

  • Implement Hash for proc_macro2::LineColumn (#​362)

v1.0.49

Compare Source

  • Opt out of -Zrustdoc-scrape-examples on docs.rs for now

v1.0.48

Compare Source

  • Documentation improvements

v1.0.47

Compare Source

  • Fix integer overflow when nesting depth of nested comments exceeds 4 billion (#​357)

v1.0.46

Compare Source

  • Make proc_macro2::TokenStream's FromStr impl consistent with proc_macro::TokenStream's on strings that begin with a byte order mark \u{feff} (#​353)

v1.0.45

Compare Source

  • Fix panic on parsing disallowed raw identifiers such as r#self (#​351)

v1.0.44

Compare Source

  • Expose span.before() and span.after() to access an empty Span located immediately before or after the input span (#​348, upstream tracking issue: rust-lang/rust#87552)

v1.0.43

Compare Source

  • Add keywords to crates.io metadata

v1.0.42

Compare Source

  • Improve parsing performance in non-macro mode (#​335)
  • Expose a size_hint() for TokenStream's iterator (#​334)

v1.0.41

Compare Source

  • Produce an accurate .size_hint() from TokenStream's iterator (#​334)

v1.0.40

Compare Source

v1.0.39

Compare Source

v1.0.38

Compare Source

  • Reduce allocations done by Literal::byte_string constructor (#​328)

v1.0.37

Compare Source

  • Rely on unicode-xid to optimize ASCII properly (#​325)

v1.0.36

Compare Source

  • Improve performance of creating literal tokens through quote! macro

v1.0.35

Compare Source

  • Try to diagnose "cannot find type SourceFile" errors better (#​311)

v1.0.34

Compare Source

  • Work around doc build failure due to docs.rs flags change (#​310)

v1.0.33

Compare Source

v1.0.32

Compare Source

v1.0.31

Compare Source

  • Update Cargo metadata to new repository location

v1.0.30

Compare Source

  • Use proc_macro::is_available on Rust 1.57+ to support projects built with panic=abort or cg_clif (#​300, thanks @​bjorn3)

v1.0.29

Compare Source

  • Pick up stable implementation of proc_macro's impl FromStr for Literal (#​287)

v1.0.28

Compare Source

v1.0.27

Compare Source

v1.0.26

Compare Source

  • Add impl LexError { pub fn span(&self) -> Span } (#​283)

v1.0.25

Compare Source

v1.0.24

Compare Source

  • Implement Error and Display for proc_macro2::LexError, matching the libproc_macro impls which exists in Rust 1.44+ (#​240)

v1.0.23

Compare Source

v1.0.22

Compare Source

v1.0.21

Compare Source

v1.0.20

Compare Source

v1.0.19

Compare Source

  • Remove procmacro2_semver_exempt feature gate on all methods stabilized in Rust 1.45 (#​243)

v1.0.18

Compare Source

  • Fix discrepancy with libproc_macro in handling of negative numbers in token streams (#​235)

v1.0.17

Compare Source

  • Allow using proc_macro2::fallback::force() from 1.0.12 at the same time as proc-macro2 = { default-features = false } (#​233)

v1.0.16

Compare Source

v1.0.15

Compare Source

  • Support parsing arbitrarily deeply nested token streams without using excessive stack space (#​231, #​232)

v1.0.14

Compare Source

v1.0.13

Compare Source

  • Parse literal suffix on byte string, byte, and char literal tokens: br#"..."#suffix, b'?'suffix, '?'suffix

v1.0.12

Compare Source

  • Add a way to force avoid using the compiler's libproc_macro implementation even when available (#​220)

v1.0.11

Compare Source

(yanked)

v1.0.10

Compare Source

  • Enable span-locations feature when building for play.rust-lang.org

v1.0.9

Compare Source

  • Match the escaping behavior of libproc_macro when displaying non-ascii strings and characters

v1.0.8

Compare Source

v1.0.7

Compare Source

  • Return meaningful spans from Group::span_open and Group::span_close when running with span-locations feature enabled outside of a procedural macro

v1.0.6

Compare Source

  • No code changes.

Just retriggering a docs.rs build because 1.0.5 failed. See alexcrichton#203 and rust-lang/docs.rs#440.

v1.0.5

Compare Source

  • Improve performance of impl Extend<TokenTree> for TokenStream (#​198)

v1.0.4

Compare Source

  • Add Literal::subspan method to match libproc_macro (#​195)

v1.0.3

Compare Source

  • Treat dev builds of rustc the same as a nightly, with unstable features available

v1.0.2

Compare Source

  • Add impl From<TokenTree> for TokenStream to match libproc_macro

v1.0.1

Compare Source

  • Documentation improvements
  • Fail with a better error message when being built on a compiler that is too old

Configuration

📅 Schedule: (UTC)

  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@pkg-pr-new

pkg-pr-new Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/rkyv-js@33

commit: f70a7ee

@codspeed

codspeed Bot commented Jul 25, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 115 untouched benchmarks


Comparing renovate/proc-macro2-1.x (f70a7ee) with main (2ffa963)

Open in CodSpeed

@renovate
renovate Bot force-pushed the renovate/proc-macro2-1.x branch from 64da184 to bb97da8 Compare August 12, 2026 03:59
@renovate
renovate Bot force-pushed the renovate/proc-macro2-1.x branch from bb97da8 to f70a7ee Compare August 26, 2026 13:00
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.

0 participants