NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #1610 most downloaded on crates.io
low-level utilities on proc-macro and proc-macro2 types
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 10 months
Most releases are documented
notes for 10 of 13 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
13 releases · first in 2023
One column per quarter.
chore: Release proc-macro-utils version 0.10.0
chore: Release proc-macro-utils version 0.10.0
next_expression() stops at => as well, matching macro_rule's exprchore: Release proc-macro-utils version 0.9.1
chore: Release proc-macro-utils version 0.9.1
span() to TokenParser.chore: Release proc-macro-utils version 0.9.0
chore: Release proc-macro-utils version 0.9.0
*_tt functions to TokenParser.next_macro_rules_tt() to TokenParser.TokenTreeLiteral with is_string() and string().assert_expansion! was failing on nightly.chore: Release proc-macro-utils version 0.8.0
chore: Release proc-macro-utils version 0.8.0
smallvec version to 1.5 to avoid nightly feature compilation issues.chore: Release proc-macro-utils version 0.7.0
chore: Release proc-macro-utils version 0.7.0
quote::ToTokens implementation for TokenParser (quote is a new default feature).peek_{token} and peek_n_{token} to TokenParser.alone to TokenTreePunct ensuring if a token is Punct its spacing is Alone*_alone functions to TokenParser setting the last token to Alone if it is a punctuation.next_n to TokenParser returning the next n tokens.peek_range to TokenParser returning a range of tokens.FromStr implementation for TokenParser based on TokenStream's.assert_expansion! macro to unit test macro implementations.TokenParser.Peeker::peek takes &[TokenTree] instead of TokenParser.Peeker::LENGTH is function len now.*_{delimiter} returns Group instead of the contained stream.
To get to the stream call .stream()TokenParser::*_{punctuation} got renamed to *_tt_{punctuation} and their behaviour was changed to match that of $tt in macro_rules instead of requiring Spacing::Alone, returned spacing is set to Alone.TokenParser peeking supports n greater than stack buffer, allowing spilling to heap.TokenParser peek buffer to 6.next_expr and next_type set the last tokens spacing to Alone.assert_tokens in expression position e.g. unbraced match armchore: Release proc-macro-utils version 0.6.0
chore: Release proc-macro-utils version 0.6.0
chore: Release proc-macro-utils version 0.5.2
chore: Release proc-macro-utils version 0.5.2
TokenParser::peek_n() always returned NoneTokenParser::next_{token} did not work correctly because of peek_nfix: did not consume token
fix: did not consume token
Breaking Change TokenTreeExt:: () now return references
TokenParser for parsing simple rust structuresassert_tokens! macroTokenTreeExt::into_<token>() functionsDelimited trait for accessing TokenTree::GroupTokenTreeExt::<token>() now return referencessplit traits to improve documentation
split traits to improve documentation
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →