2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#1 in #rewriting

Download history 600/week @ 2024-07-29 712/week @ 2024-08-05 256/week @ 2024-08-12 661/week @ 2024-08-19 390/week @ 2024-08-26 611/week @ 2024-09-02 843/week @ 2024-09-09 536/week @ 2024-09-16 458/week @ 2024-09-23 783/week @ 2024-09-30 573/week @ 2024-10-07 582/week @ 2024-10-14 1084/week @ 2024-10-21 709/week @ 2024-10-28 1158/week @ 2024-11-04 837/week @ 2024-11-11

3,877 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