2 releases

new 0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#1 in #rewriting

Download history 501/week @ 2024-07-27 929/week @ 2024-08-03 166/week @ 2024-08-10 702/week @ 2024-08-17 419/week @ 2024-08-24 360/week @ 2024-08-31 1139/week @ 2024-09-07 438/week @ 2024-09-14 533/week @ 2024-09-21 567/week @ 2024-09-28 780/week @ 2024-10-05 552/week @ 2024-10-12 1006/week @ 2024-10-19 775/week @ 2024-10-26

3,186 downloads per month
Used in 6 crates (3 directly)

MIT/Apache

25KB
569 lines

rewriter

Rust utilities for rewriting files

Main exports

Features

  • proc-macro2-span: By default rewriter, uses its own Span and LineColumn types. When this feature is enabled, rewriter instead uses the corresponding types from proc-macro2. This feature implies proc-macro2-impl below.

  • proc-macro2-impl: Implement the Span and LineColumn traits for the corresponding types in proc-macro2.

Dependencies

~1.6–10MB
~114K SLoC