2 releases

0.1.1 Nov 2, 2024
0.1.0 Jul 27, 2024

#6 in #point

Download history 440/week @ 2024-09-15 570/week @ 2024-09-22 583/week @ 2024-09-29 729/week @ 2024-10-06 561/week @ 2024-10-13 1082/week @ 2024-10-20 717/week @ 2024-10-27 1133/week @ 2024-11-03 836/week @ 2024-11-10 844/week @ 2024-11-17 1199/week @ 2024-11-24 1039/week @ 2024-12-01 919/week @ 2024-12-08 1119/week @ 2024-12-15 946/week @ 2024-12-22 989/week @ 2024-12-29

4,002 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