2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#2 in #rewriting

Download history 685/week @ 2024-08-15 439/week @ 2024-08-22 152/week @ 2024-08-29 1237/week @ 2024-09-05 480/week @ 2024-09-12 491/week @ 2024-09-19 579/week @ 2024-09-26 781/week @ 2024-10-03 422/week @ 2024-10-10 934/week @ 2024-10-17 916/week @ 2024-10-24 1181/week @ 2024-10-31 841/week @ 2024-11-07 700/week @ 2024-11-14 1027/week @ 2024-11-21 1267/week @ 2024-11-28

3,953 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–9.5MB
~113K SLoC