NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io, #259 most downloaded on crates.io
A minimal `syn` syntax tree pretty-printer
Latest stable
0.3.0
Last release 4 months ago
18 Jul 2026
Ships unpredictably
gaps range from 9 days to 11 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
5 years old
66 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Update to syn 3 (release notes: https://github.com/dtolnay/syn/releases/tag/3.0.0 )
Replace ~const syntax with [const] conditionally const syntax
~const syntax with [const] conditionally const syntax (#123)Preserve braces in use path::{self}; ( #121 , thanks @charlyisidore )
use path::to::{self}; (#121, thanks @charlyisidore)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Parenthesize for attributes on range expression
Insert parentheses around binary operation with attribute
Improve macro token spacing after $crate
$crate (#116)Forbid block comments that end in a slash ( #113 , thanks @arkeet )
Format multiple array elements on the same line
Documentation improvements
Preserve semicolon on braced statement-position macros
Expression precedence fixes (#90, #92, #95, #96, #97, #98, #100)
Avoid trailing '.' on non-macro float literals
Synthesize parentheses for precedence
Print safe and explicitly unsafe foreign items (#85, https://github.com/rust-lang/rust/issues/123743)
Improve support for use<> syntax
use<> syntax (#83)Support formatting &raw const place and &raw mut place expressions
&raw const place and &raw mut place expressions (#82)Support formatting precise capture use<> syntax
use<> syntax (#80)Support formatting tail-call become expressions
become expressions (#79)Resolve unexpected_cfgs warning
Improve line placement for field assignment with multiline value
Support Rust 1.77's C-string literal syntax
Fix formatting of imports that contain ::{self as
::{self as (#70)Update proc-macro2 to fix caching issue when using a rustc-wrapper such as sccache
Improve indentation of if-let and while-let expressions
Support generics and where-clause on const items
Support unnamed struct/union type syntax
Nothing published for this version
- Improve let-else formatting
Preserve attributes on verbatim Expr
Recognize ... placeholder in all Verbatim variants
... placeholder in all Verbatim variantsPrevent brace insertion from changing meaning of closure bodies
Format some standard library macros better
Fix semicolon on macro_rules written with parentheses
Support builtin # expression syntax
builtin # expression syntax (https://github.com/rust-lang/rust/issues/110680, #47)Improve formatting of path generics in the trait part of qpath
Improve formatting of match arms
Fill in even more Verbatim item support
Verbatim item supportImprove support for some Verbatim variants
Verbatim variants- Update syn dependency to 2.x
Fix printing of trailing comma after reordered generic params
Nothing published for this version
Update where-clause placement of generic associated types (#33, thanks @wada314)
Nothing published for this version
Fix formatting of multiline doc comments containing */ in the value
*/ in the value (#31)Fix comma before variadic in extern function signature
Improve indentation of multi-line else if condition
else if condition (#28)Add categories to crates.io metadata
Nothing published for this version
Strip off empty angle bracketed generic arguments
Support feature(generic_arg_infer)
feature(generic_arg_infer)feature(inline_const)feature(associated_const_equality)Improve indentation of method calls that have a multiline turbofish
Support for raw reference syntax — &raw const expr, &raw mut expr
&raw const expr, &raw mut expr (#21)Expose prettyplease version number as env::var("DEP_PRETTYPLEASE01_VERSION") to downstream build scripts
env::var("DEP_PRETTYPLEASE01_VERSION") to downstream build scripts (#20)Fix indentation of multiline return types
Trim trailing spaces from comments
Support variadic functions with a named variadic arg
Remove support for inner attributes on non-block expressions (#9, https://github.com/rust-lang/rust/pull/83312)
Tweak spacing around equal-sign inside attributes
Improve spacing of UseTree::Group involving empty groups
Automatically insert in token into VisRestricted when required
in token into VisRestricted when required (#7)One column per quarter.